~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.


f81c670e pyros2097

5 years ago
make cli main
Files changed (1) hide show
  1. cli/{cli.go → main.go} +3 -3
cli/{cli.go → main.go} RENAMED
@@ -1,4 +1,4 @@
1
- package cli
1
+ package main
2
2
 
3
3
  import (
4
4
  "bytes"
@@ -335,7 +335,7 @@ func buildAll(basePath string) {
335
335
  loadRoutes(p, basePath, false)
336
336
  }
337
337
 
338
- func Watch() {
338
+ func watch() {
339
339
  wd, err := os.Getwd()
340
340
  if err != nil {
341
341
  fmt.Printf("could not get wd")
@@ -353,5 +353,5 @@ func Watch() {
353
353
  }
354
354
 
355
355
  func main() {
356
- Watch()
356
+ watch()
357
357
  }