doc: first
This commit is contained in:
4
main.go
4
main.go
@@ -18,10 +18,14 @@ import (
|
||||
//go:embed core/*
|
||||
var core embed.FS
|
||||
|
||||
//go:embed index.html
|
||||
var documentation string
|
||||
|
||||
func init() {
|
||||
config.Port = flag.Int("p", 3000, "Set the server port")
|
||||
config.Color = flag.Bool("no-color", false, "Disable color output")
|
||||
config.Core = core
|
||||
config.Doc = documentation
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
||||
Reference in New Issue
Block a user