expose config package

This commit is contained in:
Joel Wetzell
2026-09-07 18:43:11 -05:00
parent 176a42c7c1
commit a304b4b211
149 changed files with 150 additions and 145 deletions
+1 -1
View File
@@ -9,8 +9,8 @@ import (
"time"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
_ "github.com/go-sql-driver/mysql"
)
+1 -1
View File
@@ -8,8 +8,8 @@ import (
"sync"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
_ "github.com/jackc/pgx/v5/stdlib"
)
+1 -1
View File
@@ -8,8 +8,8 @@ import (
"sync"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
_ "modernc.org/sqlite"
)
+1 -1
View File
@@ -11,8 +11,8 @@ import (
"time"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/internal/processor"
)
+2 -2
View File
@@ -1,4 +1,4 @@
//go:build cgo
//go:build cgo && !android
package module
@@ -8,8 +8,8 @@ import (
"log/slog"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
"gitlab.com/gomidi/midi/v2"
_ "gitlab.com/gomidi/midi/v2/drivers/rtmididrv"
)
+2 -2
View File
@@ -1,4 +1,4 @@
//go:build cgo
//go:build cgo && !android
package module
@@ -10,8 +10,8 @@ import (
"sync"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
"gitlab.com/gomidi/midi/v2"
_ "gitlab.com/gomidi/midi/v2/drivers/rtmididrv"
)
+1 -1
View File
@@ -6,8 +6,8 @@ import (
"sync"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
)
type ModuleRegistration struct {
+1 -1
View File
@@ -10,8 +10,8 @@ import (
mqtt "github.com/eclipse/paho.mqtt.golang"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
)
func init() {
+1 -1
View File
@@ -7,8 +7,8 @@ import (
"sync"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/nats-io/nats.go"
)
+1 -1
View File
@@ -11,8 +11,8 @@ import (
"time"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/nats-io/nats-server/v2/server"
)
+1 -1
View File
@@ -8,8 +8,8 @@ import (
"time"
"github.com/jwetzell/psn-go"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
)
func init() {
+1 -1
View File
@@ -8,8 +8,8 @@ import (
"sync"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/redis/go-redis/v9"
)
+1 -1
View File
@@ -11,8 +11,8 @@ import (
"time"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/internal/framer"
"go.bug.st/serial"
)
+1 -1
View File
@@ -10,8 +10,8 @@ import (
"time"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/internal/framer"
)
+1 -1
View File
@@ -13,8 +13,8 @@ import (
"time"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/internal/framer"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package module_test
import (
"testing"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package module_test
import (
"testing"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -3,8 +3,8 @@ package module_test
import (
"testing"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/internal/module"
"github.com/jwetzell/showbridge-go/internal/test"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package module_test
import (
"testing"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package module_test
import (
"testing"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package module_test
import (
"testing"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package module_test
import (
"testing"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package module_test
import (
"testing"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package module_test
import (
"testing"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package module_test
import (
"testing"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
@@ -3,7 +3,7 @@ package module_test
import (
"testing"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/module"
)
+1 -1
View File
@@ -7,8 +7,8 @@ import (
"time"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
)
func init() {
+1 -1
View File
@@ -7,8 +7,8 @@ import (
"time"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
)
func init() {
+1 -1
View File
@@ -9,8 +9,8 @@ import (
"sync"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
)
func init() {
+1 -1
View File
@@ -10,8 +10,8 @@ import (
"time"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
)
func init() {
+1 -1
View File
@@ -11,8 +11,8 @@ import (
"time"
"github.com/google/jsonschema-go/jsonschema"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
)
func init() {
+1 -1
View File
@@ -11,8 +11,8 @@ import (
"github.com/google/jsonschema-go/jsonschema"
"github.com/gorilla/websocket"
"github.com/jwetzell/showbridge-go/config"
"github.com/jwetzell/showbridge-go/internal/common"
"github.com/jwetzell/showbridge-go/internal/config"
)
func init() {