https://github.com/slingercode/go-http
A basic go http app... I'm going to add tailwind, maybe HTMX, cache headers and whatever comes to my mind
https://github.com/slingercode/go-http
Last synced: 3 days ago
JSON representation
A basic go http app... I'm going to add tailwind, maybe HTMX, cache headers and whatever comes to my mind
- Host: GitHub
- URL: https://github.com/slingercode/go-http
- Owner: slingercode
- License: mit
- Created: 2024-02-27T04:53:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-31T05:01:16.000Z (about 2 years ago)
- Last Synced: 2024-04-01T05:40:59.082Z (about 2 years ago)
- Language: Go
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 👀
A basic go http app... I'm going to add tailwind, maybe HTMX, cache headers
and whatever comes to my mind
## Why?
Learning. Now I'm using only `net/http` in the server but it's just a way to
probe how a real world example can be implemented. I liked so far.
This [blog post](https://grafana.com/blog/2024/02/09/how-i-write-http-services-in-go-after-13-years/c) is really a good way to start i believe
## Instructions
- Make sure that `$GOPATH` is defined so that `templ` can be used
- Install `pnpm` so that tailwind may be accessible and run `pnpm i`
- Run `go mod tidy` to install local dependencies