Files
ent/examples/privacyadmin
森 優太 e52439c5be cmd/ent: fix //go:generate code generation to match go1.16 (#1300)
* doc: fix github link

* doc: fix Link entgo.io -> github.com/ent

* 🎉 first commit

* update go generate style

* doc: update go get to go install

* doc: update versioning with go install

* restore all

* change generate.go content

* add -mod=mod option

* add -mod=mod option
2021-03-09 22:00:33 +02:00
..

Privacy Admin Only Example

An example for an application that allows any user to read any data, but accepts mutations only from viewers with admin role.

Generate Assets

go generate ./...

Run Example

go test