mirror of
https://github.com/fumiama/paper-manager.git
synced 2026-06-06 16:30:23 +08:00
17 lines
182 B
Go
17 lines
182 B
Go
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() {}
|