1
0
mirror of https://gitee.com/willfree/mlsr.git synced 2026-06-06 03:19:29 +08:00
Files
mlsr/main.go
T
2022-04-06 17:25:01 +08:00

32 lines
444 B
Go

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")
}