config.go 322 B

123456789101112131415161718
  1. // Code scaffolded by goctl. Safe to edit.
  2. // goctl 1.10.2
  3. package config
  4. import (
  5. "github.com/zeromicro/go-zero/core/stores/sqlx"
  6. "github.com/zeromicro/go-zero/rest"
  7. )
  8. type Config struct {
  9. rest.RestConf
  10. MySQL sqlx.SqlConf
  11. Mount MountConf
  12. }
  13. type MountConf struct {
  14. BaseDir string `json:",default=/var/ude/mnt"`
  15. }