Skip to content

martinlehoux/kagamigo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Publishing a new version

  • Push the code
  • Once the pipeline is green, git tag vx.x.x
  • git push --tags

kdev

  • Ignore regex
  • Log level

ki18n

  • Document
  • Add gettext to CI
  • Add time handling
  • Use request data for default lang
  1. go run github.com/martinlehoux/kagamigo/cmd/gettext -write
  2. Use Tr("key", value...) in you templ files
  3. Complete generated files
  4. Run

web

  • Use reflection add startup time to add metadata to logging
  • Save aggregate + an event with time & actor (event streaming)

kcore

handler.HandleFunc("GET /", func(w http.ResponseWriter, r *http.Request) {
  kcore.RenderPage(r.Context(), pages.HomePage(), w)
})
block, err := aes.NewCipher(secret)
kcore.Expect(err, "error creating AES cipher")

kauth

  • Auto logout for some errors (unreachable user, expired)
  • Revisit the login and signup flow

About

Collection of tools for Go projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages