diff options
| author | jackyzha0 <[email protected]> | 2020-05-09 20:15:59 -0700 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2020-05-09 20:15:59 -0700 |
| commit | dedabf41a18820527aed9e77b75564e69c9030ce (patch) | |
| tree | 9258832576f9c1bcad6126cf76ef8f7f6a128e82 /db/schemas.go | |
| parent | Merge pull request #3 from jackyzha0/doc-expiry (diff) | |
| download | ctrl-v-dedabf41a18820527aed9e77b75564e69c9030ce.tar.xz ctrl-v-dedabf41a18820527aed9e77b75564e69c9030ce.zip | |
folder refactor
Diffstat (limited to 'db/schemas.go')
| -rw-r--r-- | db/schemas.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/db/schemas.go b/db/schemas.go deleted file mode 100644 index bdfa60c..0000000 --- a/db/schemas.go +++ /dev/null @@ -1,15 +0,0 @@ -package db - -import ( - "time" - - "github.com/globalsign/mgo/bson" -) - -// Paste represents a single paste -type Paste struct { - ID bson.ObjectId `bson:"_id,omitempty"` - Hash string - Content string - Expiry time.Time `bson:"expiry"` -} |