go-htmx-ts

command module
v0.0.0-...-ce52130 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 9 Imported by: 0

README

go-htmx-ts

Template project with Go on the backend and HTMX + TS on the frontend

https://grafana.com/blog/2024/02/09/how-i-write-http-services-in-go-after-13-years/

Todo

  • better logger? colour? not for now, simple, no dependencies
  • config (first no deps, then viper?)
  • args (first no deps, then cobra?)
  • db/store? (first no deps, sqlite)
  • auth service? first simple mail and pass
  • sending operating system fundamentals around example
  • controlling the environment - sending argument and env slices to run()
  • validator interface
  • validator example - add some form
  • isAdmin middleware
  • example of returning big middleware
  • example of inlining request and response types. setup a form somewhere
  • tests...
  • example of sync.once to defer setup

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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