From cdb0a283b268c229e686aa164ea5aa82be4aba2b Mon Sep 17 00:00:00 2001 From: Gia Lee <83567599@qq.com> Date: Sat, 14 Oct 2023 16:27:54 +0800 Subject: [PATCH 1/2] Update app.go --- api/service/app.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/api/service/app.go b/api/service/app.go index 00127277..a3ecc495 100644 --- a/api/service/app.go +++ b/api/service/app.go @@ -121,11 +121,12 @@ func (app *App) init() error { // GenerateUUID generate a 128bit UUID func (app *App) GenerateUUID(uuidVal string) string { - base := app.Options.UUID - if len(uuidVal) == 8 { - base = "" - } - return base + uuidVal + app.Options.UUIDSuffix + // base := app.Options.UUID + // if len(uuidVal) == 8 { + // base = "" + // } + // return base + uuidVal + app.Options.UUIDSuffix + return uuidVal + app.Options.UUIDSuffix } // GetAdapter return the adapter in use From b832414fe676eeec545210573e84e78d988a3421 Mon Sep 17 00:00:00 2001 From: Gia Lee <83567599@qq.com> Date: Sat, 14 Oct 2023 16:38:42 +0800 Subject: [PATCH 2/2] Update go.mod --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index d832412b..fba1fc3b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/muka/go-bluetooth +module github.com/83567599/go-bluetooth go 1.14