repurpose the useless cmd application nobody used into a place to put the i2pkeys library outside of both the SAM libraries

This commit is contained in:
idk
2022-03-10 00:51:20 -05:00
parent f1a1319f2b
commit b97558c06a
2 changed files with 55 additions and 10 deletions

View File

@ -19,3 +19,15 @@ func Test_Basic(t *testing.T) {
}
fmt.Println(keys.String())
}
func Test_Basic_Lookup(t *testing.T) {
fmt.Println("Test_Basic")
fmt.Println("\tAttaching to SAM at " + yoursam)
keys, err := Lookup("idk.i2p")
if err != nil {
fmt.Println(err.Error())
t.Fail()
return
}
fmt.Println(keys.String())
}