ᴊᴏᴇ ᴄʜᴇɴ
ᴊᴏᴇ ᴄʜᴇɴ
额。。其实我想说的是,注册路由部分的代码。。
额。。看起来没问题。。我看了代码,判断 Validate 和 Error 的用法是一样的。。暂时不知道为什么。。0 0
噢。。那这个目前我还没想到什么好的办法,因为 Bind 是禁止你传指针的,否则会出现大量数据竞争破坏内存出现奇怪的错误
The patch has landed on 0.13.0+dev and will be back-ported to 0.12.11 (no ETA). Thanks again for reporting!
I want to avoid touching the ancient `gogs.js` file as much as possible... 😁 until being able to migrate to a modern frontend technologies like ReactJS.
The 0.12.11 has been released that includes the patch of the reported issue.
I think lowercase fields will not be displayed as the Go rules defined. So you first need to change `region` to `Region`, then use `{{.Region}}`. Hope helps.
> @unknwon I'd like to take a shot at implementing this unless you have any concerns. Would you prefer the error to automatically include the line/column in the message, a...
`Storager` interface has been added since https://github.com/gogs/gogs/commit/9a5b227f3ee2b2a3854d3aec022cc9a0cf0868b3: https://github.com/gogs/gogs/blob/9a5b227f3ee2b2a3854d3aec022cc9a0cf0868b3/internal/lfsutil/storage.go#L19-L31
Thanks your feedback! Can you explain and use cases?