├── .github └── workflows │ └── deploy.yaml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── db └── sql │ └── 1_create-table.sql ├── docker-compose.yml ├── go.mod ├── go.sum ├── lp.png ├── main.go ├── model ├── comment.go ├── post.go └── user.go ├── router ├── home.go ├── posts.go ├── signout.go └── user.go └── template ├── _header.html ├── home.html ├── post-detail.html ├── posts-new.html ├── posts.html └── users-new.html /.github/workflows/deploy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/.github/workflows/deploy.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # learn-go-server 2 | 3 | 4 | 5 | Go でサーバー立てる練習 6 | -------------------------------------------------------------------------------- /db/sql/1_create-table.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/db/sql/1_create-table.sql -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/go.sum -------------------------------------------------------------------------------- /lp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/lp.png -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/main.go -------------------------------------------------------------------------------- /model/comment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/model/comment.go -------------------------------------------------------------------------------- /model/post.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/model/post.go -------------------------------------------------------------------------------- /model/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/model/user.go -------------------------------------------------------------------------------- /router/home.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/router/home.go -------------------------------------------------------------------------------- /router/posts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/router/posts.go -------------------------------------------------------------------------------- /router/signout.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/router/signout.go -------------------------------------------------------------------------------- /router/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/router/user.go -------------------------------------------------------------------------------- /template/_header.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/template/_header.html -------------------------------------------------------------------------------- /template/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/template/home.html -------------------------------------------------------------------------------- /template/post-detail.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/template/post-detail.html -------------------------------------------------------------------------------- /template/posts-new.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/template/posts-new.html -------------------------------------------------------------------------------- /template/posts.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/template/posts.html -------------------------------------------------------------------------------- /template/users-new.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sadnessOjisan/gochann/HEAD/template/users-new.html --------------------------------------------------------------------------------