22 lines
247 B
Go
22 lines
247 B
Go
package main
|
|
|
|
import (
|
|
_ "embed"
|
|
"fmt"
|
|
|
|
"git.supernets.org/vortex/twister/config"
|
|
)
|
|
|
|
var (
|
|
//go:embed config.toml
|
|
content []byte
|
|
|
|
version = "0.1.1"
|
|
)
|
|
|
|
func main() {
|
|
conf := config.Parse(content)
|
|
conf.Version = version
|
|
fmt.Println(conf)
|
|
}
|