licenta

command module
v0.0.0-...-4673371 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: EUPL-1.2 Imports: 1 Imported by: 0

README

Proiect de licenta

Making a migration

sql-migrate new <migration_name>

After making the migration, edit the file in db/migrations/<migration_name>.sql and run the following command to apply the migration:

sql-migrate up

Updating the database schema/api

go generate ./...

Tools

go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen@latest
go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
go install go.uber.org/mock/mockgen@latest
go install github.com/valyala/quicktemplate/qtc@latest

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1
v1/generated
Package generated provides primitives to interact with the openapi HTTP API.
Package generated provides primitives to interact with the openapi HTTP API.
cmd
nvd
db
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
extractors
git
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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