1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Add 'tomlo', configure cowyo via TOML

This commit is contained in:
Daniel Heath
2018-05-27 21:51:33 +10:00
parent f567f86bab
commit 3b91b699e3
7 changed files with 320 additions and 0 deletions

14
cmd/tomlo/tomlo.go Normal file
View File

@@ -0,0 +1,14 @@
package main
import (
"github.com/schollz/cowyo/config"
)
func main() {
c, err := config.ParseFile("multisite_sample.toml")
if err != nil {
panic(err)
}
panic(c.ListenAndServe())
}