aboutsummaryrefslogtreecommitdiff
path: root/db/schemas.go
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2020-05-09 20:15:59 -0700
committerjackyzha0 <[email protected]>2020-05-09 20:15:59 -0700
commitdedabf41a18820527aed9e77b75564e69c9030ce (patch)
tree9258832576f9c1bcad6126cf76ef8f7f6a128e82 /db/schemas.go
parentMerge pull request #3 from jackyzha0/doc-expiry (diff)
downloadctrl-v-dedabf41a18820527aed9e77b75564e69c9030ce.tar.xz
ctrl-v-dedabf41a18820527aed9e77b75564e69c9030ce.zip
folder refactor
Diffstat (limited to 'db/schemas.go')
-rw-r--r--db/schemas.go15
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"`
-}