mirror of
https://github.com/ent/ent.git
synced 2026-04-28 05:30:56 +03:00
doc/website: migration to docosaurus v2 (#1384)
* WIP - migrating entgo.io to docosaurus v2 * organizing pages a bit to be better suited for v2 site structure * doc/website: finish migration to docusaurus v2 Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>
This commit is contained in:
@@ -78,7 +78,7 @@ func Example_Todo() {
|
||||
Wonderful! We created a schema in the database with 5 columns (`id`, `text`, `created_at`, `status`, `priority`)
|
||||
and created 2 items in our todo list, by inserting 2 rows to the table.
|
||||
|
||||

|
||||

|
||||
|
||||
## Add Edges To The Schema
|
||||
|
||||
@@ -109,7 +109,7 @@ go generate ./ent
|
||||
We continue our edges example, by updating the 2 todo items we just created. We define that item-2 (*"Add Tracing Example"*)
|
||||
depends on item-1 (*"Add GraphQL Example"*).
|
||||
|
||||

|
||||

|
||||
|
||||
```go
|
||||
func Example_Todo() {
|
||||
|
||||
Reference in New Issue
Block a user