Gen is a Tiny static site generator, base on a json file.
{
"name": "test",
"version": "0.0.1",
"routes": [{
"url": "/index",
"method": "GET",
"template": "index.html"
},
{
"url": "/home",
"method": "GET",
"template": "home.html"
},
{
"url": "/admin",
"method": "GET",
"template": "index.html"
}]
}
package main
import (
"github.com/squiidz/gen"
)
func main() {
g := gen.NewGen("application/app.json")
g.Run(":8080")
}
This project is only for fun.
MIT