Matthew Gabeler-Lee
c53b45ddb0
all: use %w instead of %v to wrap errors ( #1275 )
...
* all: use %w instead of %v for nested errors with fmt.Errorf
* all: update generated code to use %w instead of %v for error wrapping
2021-03-03 20:05:33 +02:00
Ariel Mashraki
dd4792f5b3
go: rename module from github.com/facebook/ent => entgo.io/ent ( #1226 )
2021-02-02 23:03:04 +02:00
Nathaniel Peiffer
cfefd26543
cmd/internal/base: add name conflict check for init command ( #1110 )
...
* adds checks for name conflicts
also tidies up error handling inside init
* fix failing test, check for lower name for golang idents
* update function name and prefer builtin function
* pkg instead of lowerName
2021-01-02 22:25:39 +02:00
Nathaniel Peiffer
e37995be31
cmd/internal/base: more informative comment ( #1116 )
2021-01-02 09:29:47 +02:00
Ariel Mashraki
b77d2d4277
cmd/ent: replace entc with ent ( #989 )
...
See #981
2020-11-29 10:23:24 +02:00