random-launcher-backend

module
v0.0.0-...-91b1530 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: CC0-1.0

README

Actions Status go-version license

random-launcher-backend

render の設定に関して

Build Command には

go build -ldflags "-s -w" -o main ./cmd/app

と書きます。

Execute

以下を実行後、http://localhost:8080/users, http://localhost:8080/articles を見に行ってね。

go run cmd/app/main.go

Initialize all tables

go run cmd/app/main.go migrate --drop

License

これらのコードや文章は CC0 で許諾されています。すなわち、引用元に記載せずに、これらのコードや文章の一部または全部を使用できます。

Directories

Path Synopsis
cmd
$ go run cmd/app/main.go
$ go run cmd/app/main.go
app
$ go run cmd/app/main.go $ curl http://localhost:8080
$ go run cmd/app/main.go $ curl http://localhost:8080
delivery
httpserver
https://github.com/planetscale/golang-example/blob/main/main.go REST API設計者のための有名APIのURL例 https://zenn.dev/yu1ro/articles/4c73274383b676
https://github.com/planetscale/golang-example/blob/main/main.go REST API設計者のための有名APIのURL例 https://zenn.dev/yu1ro/articles/4c73274383b676
【Go】Gormの使い方(CRUD) https://zenn.dev/a_ichi1/articles/4b113d4c46857a
【Go】Gormの使い方(CRUD) https://zenn.dev/a_ichi1/articles/4b113d4c46857a
middleware
https://github.com/go-gormigrate/gormigrate gopkg.in/gormigrate.v2
https://github.com/go-gormigrate/gormigrate gopkg.in/gormigrate.v2

Jump to

Keyboard shortcuts

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