Files
ent/examples/edgeindex
Alex Snast ac50ea81d4 ent: address several lint errors throughout the project (#1534)
Summary:
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1534

Pull Request resolved: https://github.com/facebookincubator/ent/pull/73

lint errors detected by running `golangci-lint` tool.

Reviewed By: a8m

Differential Revision: D17784980

fbshipit-source-id: f7e8bd99fdf1e018d5672cea1e8d44b67f2a4201
2019-10-06 23:59:12 -07:00
..
2019-08-27 12:15:14 -07:00

City-Street Unique Index Example

In this example, we have a City with many Streets, and we want to set the street name to be unique under each city.

Generate Assets

go generate ./...