| 1 | package adapterscip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/adapter`/ |
| 2 | |
| 3 | import "testingscip-go gomod github.com/golang/go/src go1.14 testing/" |
| 4 | |
| 5 | //GetGattManager return a GattManager1 instance |
| 6 | func TestGetGattManagerscip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/adapter`/TestGetGattManager().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) { |
| 7 | |
| 8 | a := getDefaultAdapterscip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/adapter`/getDefaultAdapter().(t) |
| 9 | |
| 10 | _, err := a.GetGattManagerscip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/adapter`/Adapter1#GetGattManager().() |
| 11 | if err != nil { |
| 12 | t.Fatalscip-go gomod github.com/golang/go/src go1.14 testing/common#Fatal().(err) |
| 13 | } |
| 14 | |
| 15 | } |