18 lines
200 B
Go
18 lines
200 B
Go
package nameserver
|
|
|
|
import (
|
|
. "github.com/zettio/weave/common"
|
|
)
|
|
|
|
func checkFatal(e error) {
|
|
if e != nil {
|
|
Error.Fatal(e)
|
|
}
|
|
}
|
|
|
|
func checkWarn(e error) {
|
|
if e != nil {
|
|
Warning.Println(e)
|
|
}
|
|
}
|