1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-20 00:39:17 +08:00
1Panel/backend/configs/sqlite.go
2022-08-17 09:37:30 +08:00

10 lines
158 B
Go

package configs
type Sqlite struct {
GeneralDB `yaml:",inline" mapstructure:",squash"`
}
func (s *Sqlite) Dsn() string {
return s.Path + "/" + s.DbFile
}