Init: bootstrap go module with basic framework
This commit is contained in:
10
models/image.go
Normal file
10
models/image.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package models
|
||||
|
||||
import "github.com/uptrace/bun"
|
||||
|
||||
type Image struct {
|
||||
bun.BaseModel `bun:"table:image"`
|
||||
|
||||
Id int64 `bun:"id,pk,autoincrement"`
|
||||
Ext string `bun:"ext"`
|
||||
}
|
||||
Reference in New Issue
Block a user