Ariel Mashraki 651dc25dd1 graph/ent: add node template and codegen
Summary:
This change allows to call `Client.Node` to get node info.

```
node, err := client.Node(ctx, id)
```

Reviewed By: dlvhdr

Differential Revision: D17341682

fbshipit-source-id: bed1fe018cca7f5048a624b50b1f5cc6cc3507f3
2019-09-12 02:50:57 -07:00
2019-08-29 23:22:44 -07:00
2019-06-17 08:23:39 -07:00
2019-08-27 04:48:28 -07:00
2019-08-26 08:02:12 -07:00

ent - An Entity Framework For Go

Simple, yet powerful ORM for modeling and querying data.

  • Schema As Code - model any graph schema as Go objects.
  • Easily Traverse Any Graph - run queries, aggregations and traverse any graph structure easily.
  • Statically Typed And Explicit API - 100% statically typed and explicit API using code generation.
  • Multi Storage Driver - supports MySQL, SQLite and Gremlin.

Installation

go get github.com/facebookincubator/ent/entc/cmd/entc

Docs

The documentation for developing and using ent is avaliable at: https://entgo.io

Join the ent Community

See the CONTRIBUTING file for how to help out.

License

ent is licensed under Apache 2.0 as found in the LICENSE file.

Description
An entity framework for Go
Readme Apache-2.0 94 MiB
Languages
Go 100%