Some checks failed
CI / init (push) Has been cancelled
CI / Frontend node 18.16.0 (push) Has been cancelled
CI / Backend go (1.22) (push) Has been cancelled
CI / devops-test (1.22, 18.16.0) (push) Has been cancelled
CI / release-pr (push) Has been cancelled
CI / release-please (push) Has been cancelled
CI / devops-prod (1.22, 18.x) (push) Has been cancelled
CI / docker (push) Has been cancelled
14 lines
200 B
Go
14 lines
200 B
Go
package config
|
|
|
|
import (
|
|
"path/filepath"
|
|
)
|
|
|
|
type Sqlite struct {
|
|
GeneralDB `yaml:",inline" mapstructure:",squash"`
|
|
}
|
|
|
|
func (s *Sqlite) Dsn() string {
|
|
return filepath.Join(s.Path, s.Dbname+".db")
|
|
}
|