浪里寻花

Results 7 comments of 浪里寻花

golang time的0时刻是:0001-01-01 00:00:00。所以估计是gtime包有问题。 ``` beginAt := "14:39:51" aa := gtime.New(beginAt) fmt.Println(aa.ISO8601()) ``` 得到结果是: `0000-01-01T14:39:51+08:00` ``` aa := gtime.New(0) fmt.Println(aa.ISO8601()) ``` 得到的结果是: `0001-01-01T00:00:00+00:00`

> @Tiller-Mu 请提供可复现该问题的最小可运行代码。 [https://github.com/Tiller-Mu/gf_swagger.git](https://github.com/Tiller-Mu/gf_swagger.git)

> 我也遇到了,你直接把所有结构体全部拆出去,单独命名,再引入就可以了 是的,目前是这样做的。

我这边也有这个问题,goland 2021.1.1

![image](https://user-images.githubusercontent.com/60461226/116484343-77f7a080-a8bb-11eb-99a4-8e26c5349699.png) ![image](https://user-images.githubusercontent.com/60461226/116484685-28fe3b00-a8bc-11eb-9391-174728799ceb.png) 另外还有个问题,模板添加这个页面字体和背景都是白色的

![image](https://user-images.githubusercontent.com/60461226/116485356-95c60500-a8bd-11eb-939a-f8d6b886e43b.png) 感觉似乎是goland的问题?

> > ![image](https://user-images.githubusercontent.com/60461226/116485356-95c60500-a8bd-11eb-939a-f8d6b886e43b.png) > > 感觉似乎是goland的问题? > > 可能是编码的问题 但我这边没有出现这种情况,你这个是windows系统吗 是的,我这边是windows系统,win10 19043.928