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


eb743efa pyros2097

tag: v0.0.2

v0.0.2

5 years ago
add http package
Files changed (1) hide show
  1. {cmd/wapp → http}/main.go +2 -2
{cmd/wapp → http}/main.go RENAMED
@@ -1,4 +1,4 @@
1
- package main
1
+ package http
2
2
 
3
3
  import (
4
4
  "bytes"
@@ -283,7 +283,7 @@ func serve(wd string) {
283
283
  log.Fatal(http.ListenAndServe(":1234", nil))
284
284
  }
285
285
 
286
- func main() {
286
+ func Watch() {
287
287
  wd, err := os.Getwd()
288
288
  if err != nil {
289
289
  fmt.Printf("could not get wd")