Kevin Wan

Results 336 comments of Kevin Wan
trafficstars

Yes, you're right. But for now, if we change to ${xxx}, there will be a compatibility problem. I suggest you to use `env` tag in config struct instead of `UseEnv()`.

If not check at the start, when to check the routes? For some scenarios, we load the routes from the server directly, how to know the server is started? We...

Authentication enabled in server side, but no authentication info in requests.

https://go-zero.dev/docs/advance/jwt/ or https://go-zero.dev/cn/docs/advance/jwt/

Not a problem.

Add quotes in config: ```yaml Mongo: DataSource: "mongodb://root:abcd!@#$5@${MONGO_MONGODB_SERVICE_HOST}:${MONGO_MONGODB_SERVICE_PORT}/?directConnection=true" DataBase: ${MONGO_MONGODB_DATABASE} Cache: - Host: ${REDIS_MASTER_SERVICE_HOST}:${REDIS_MASTER_SERVICE_PORT} Pass: abcd!@#$% Type: node ```