mirror of
https://github.com/fumiama/paper-manager.git
synced 2026-06-13 05:03:16 +08:00
finish backend login
This commit is contained in:
16
backend/global/file.go
Normal file
16
backend/global/file.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package global
|
||||
|
||||
import "time"
|
||||
|
||||
func init() {
|
||||
err := FileDB.db.Open(time.Hour)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
type File struct {
|
||||
ID *int
|
||||
}
|
||||
|
||||
func (f *FileDatabase) AddFile() {}
|
||||
Reference in New Issue
Block a user