1
0
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:
源文雨
2023-03-17 18:29:02 +08:00
parent 5889f0e30a
commit cd571e9e25
12 changed files with 844 additions and 279 deletions

16
backend/global/file.go Normal file
View 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() {}