// Code scaffolded by goctl. Safe to edit. // goctl 1.10.2 package config import ( "github.com/zeromicro/go-zero/core/stores/sqlx" "github.com/zeromicro/go-zero/rest" ) type Config struct { rest.RestConf MySQL sqlx.SqlConf Mount MountConf // 注意: rest.RestConf 内嵌 service.ServiceConf 自带 Log logx.LogConf // (yaml 的 Log: 段,经匿名内嵌提升为 c.Log),供 internal/log 使用。 } type MountConf struct { BaseDir string `json:",default=/var/ude/mnt"` }