- Timestamp:
- Dec 10, 2023, 11:57:40 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmd/aya/main.go
r77 r78 1 // $TheSupernovaDuo: marisa.chaotic.ninja/aya/cmd/aya, v0.6. 8 2023-12-04 15:43:44+0000, yakumo_izuru Exp $1 // $TheSupernovaDuo: marisa.chaotic.ninja/aya/cmd/aya, v0.6.9 2023-12-09 23:30:07+0000, yakumo_izuru Exp $ 2 2 package main 3 3 … … 200 200 } 201 201 202 // Renders text file expanding all variable macros inside it202 // Renders hypertext file expanding all variable macros inside it 203 203 func buildHTML(path string, w io.Writer, vars Vars) error { 204 204 v, body, err := getVars(path, vars) … … 403 403 aya.PrintUsage() 404 404 case "serve": 405 aya.HttpServe(PUBDIR )405 aya.HttpServe(PUBDIR, 8000) 406 406 case "var": 407 407 if len(args) == 0 {
Note:
See TracChangeset
for help on using the changeset viewer.