gaoyusongcn
gaoyusongcn
> This is perhaps a medium-sized project, but would resolve some of the pain points around build tags. While it requires an understanding of the complicated way that gopls resolves...
@findleyr PLS doesn't support `//go:build ignore` and it miserable me 
@findleyr Thank you for your answer. I look forward to it.
> ``` > eagle on master via 🐳 default via 🐹 v1.17.6 on ☁️ [email protected] took 32s > ❯ git rebase FETCH_HEAD > Current branch master is up to...
> @wonderfate 执行如下命令 > > go get github.com/go-eagle/eagle/api/user/v1 go get github.com/go-eagle/eagle/docs 这两个包拉不到
> You can use the `UpdateDefault` method on the field ([docs](https://entgo.io/docs/schema-fields#default-values)) if you just want this type of functionality generally. > > Not sure how to do this if you...
@henrywoody Thank you for your answer. Below for the code, that generated query like `deleted_at datetime NOT NULL` ```go func (DeleteTimeMixin) Fields() []ent.Field { return []ent.Field{ field.Time("deleted_at"). SchemaType(map[string]string{ dialect.MySQL: "datetime",...
@a8m Thank you for answer. This's very useful for me. But when using `Annotations` there will be duplicate migration files. Look at it if you have free time https://github.com/ent/ent/issues/2842