microblog

command module
v0.0.0-...-6f2b15d Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 10 Imported by: 0

README

microblog

個人用のマイクロブログです。主な使用技術は、Golang(chi + wire + oapi-codegen + bun)・GAE・PostgreSQL(supabase)です。

インストール

make go-install

[参考] ソースコードをもとに依存関係を整理

go mod tidy

ローカルでの起動

make serve

# コメント一覧取得
curl http://localhost:8080/comments

# コメント登録
curl -X POST -H "Content-Type: application/json" -d '{"text" : "あいうえお"}' http://localhost:8080/comments

GAE にデプロイ

make deploy

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
adapters
controllers
Package controllers provides primitives to interact with the openapi HTTP API.
Package controllers provides primitives to interact with the openapi HTTP API.
controllers/models
Package controllers provides primitives to interact with the openapi HTTP API.
Package controllers provides primitives to interact with the openapi HTTP API.
repositories/models
Code generated by xorm/reverse generate DO NOT EDIT.
Code generated by xorm/reverse generate DO NOT EDIT.

Jump to

Keyboard shortcuts

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