example/

directory
v0.0.0-...-6945674 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: MIT

README

OAK Example

The example shows how to use ORM with Prana.

If you want, you can setup the database via Prana CLI:

$ prana migration run

Otherwise when you run the example, it will setup the database by using Migrate function.

You can run the project by executing the main.go:

$ go run cmd/example-api/main.go

Directories

Path Synopsis
cmd
Package database contains an repository of database schema ” Auto-generated at Fri, 12 Apr 2019 13:09:42 CEST
Package database contains an repository of database schema ” Auto-generated at Fri, 12 Apr 2019 13:09:42 CEST
ent

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL