package main import ( "fmt" "github.com/tidwall/buntdb" "minlib/logicface" "mlsr/lsa" ) func main() { fmt.Println("abc") s:=logicface.LogicFaceTypeEther fmt.Println("def",s) ss:=lsa.AdjLsaAdjacencyInfo{} ss.Status=1 TestBuntDb() } func TestBuntDb() { // https://github.com/tidwall/buntdb db,err := buntdb.Open(":memory:") if err!= nil{ fmt.Println("bunt db open err") } _ = db.Close() fmt.Println("bunt db closed") }