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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.
models/gen command

Jump to

Keyboard shortcuts

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