Hello, everyone. I use the ginweb framework as a service and use mgo to connect to mongo,. There is a timestamp in my database that I wrote when I created statuct user: CreatedTime float64 bson:created_time here I tried time.Time,int, float64, but the...
similar to GORM, execute some functions before and after executing the query by registering them db.Callback().Create().Before("gorm:create").Register("update_created_at", updateCreated) db.Callback().Create().After("gorm:creat...
configuration file of how application.yaml in SpringBoot is referenced. spring: datasource: druid: url: ${jdbc.url} username: ${jdbc.username} where jdbc.url , jdbc.username is in another file jdbc.yaml . how ...
No matter what user password you enter, you can t get into the keypad. If you have a password in pure English, you can always prompt login incorrect ....
problem description is that there is a third-party forum without a mobile version. If you want to turn it into a mobile app suitable for browsing, you can transform it by introducing custom js and css alignment. ...
{ path: song , component: Song, children: [ { path: :id , component: Songditail }, { path: getNewsList , component: newslist } ] } this.$router.push({ path: song getNews }) newslist ...
problem description this is a relatively simple topic that can be written. What I want to ask is whether these if-else can be optimized . related codes Please paste the code text below (do not replace the code with pictures) public static voi...