Moved global vars to types.go

This commit is contained in:
Joona Hoikkala
2016-11-28 13:13:45 +02:00
parent 74f160114b
commit 805c7dd2cf
2 changed files with 9 additions and 9 deletions

View File

@ -7,15 +7,6 @@ import (
"os"
)
// DNSConf is global configuration struct
var DNSConf DNSConfig
// DB is used to access the database functions in acme-dns
var DB database
// RR holds the static DNS records
var RR Records
func main() {
// Read global config
configTmp := readConfig("config.cfg")