[app] name = "lyra" env = "debug" #gin支持 release | test | debug 3种mode,如果需要自定义,需要映射到这3种mode中去,gin的默认模式是debug模式 [log] level = "info" #日志级别,支持 debug | info | warn | error | [http] host = "0.0.0.0" port = 7777 [database] driver = "pgx" host = "localhost" port = 5432 user = "admin" name = "lab" [cache] host = "localhost" port = 6379 db = 0 timeout = 200