~repos /gromer

#golang#htmx#ssr

git clone https://pyrossh.dev/repos/gromer.git

gromer is a framework and cli to build multipage web apps in golang using htmx and alpinejs.


9506dcff Peter John

tag: v0.10.0

v0.10.0

3 years ago
fix logs again
Files changed (1) hide show
  1. http.go +1 -1
http.go CHANGED
@@ -29,7 +29,7 @@ func init() {
29
29
  IsCloundRun = os.Getenv("K_REVISION") != ""
30
30
  info, _ = debug.ReadBuildInfo()
31
31
  zerolog.ErrorStackMarshaler = pkgerrors.MarshalStack
32
- if !IsLambda || !IsCloundRun {
32
+ if !IsLambda && !IsCloundRun {
33
33
  log.Logger = log.Output(zerolog.ConsoleWriter{
34
34
  Out: os.Stdout,
35
35
  TimeFormat: zerolog.TimeFormatUnix,