Why not change the internal directory to pkg?
Author: zboyaCreated Mar 8, 2026Updated Apr 4, 2026
This would make it easier for Go developers to directly integrate this SDK. like:
mux := http.NewServeMux()
// Register all bridge handlers
h := handlers.New(bridgeInstance, cfg, nil, nil, nil)
shutdownOnce := &sync.Once{}
doShutdown := func() {
shutdownOnce.Do(func() {
slog.Info("shutting down bridge server...")
})
}
h.RegisterRoutes(mux, doShutdown)
...Source: pinchtab/pinchtab