mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
15 lines
191 B
Go
15 lines
191 B
Go
|
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())
|
||
|
}
|