Rename go.mod module name according to git path
All checks were successful
CI / release-test (push) Successful in 6s
All checks were successful
CI / release-test (push) Successful in 6s
This commit is contained in:
parent
378b86b7f1
commit
1b04b71d9d
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module gas_stack
|
module git.offline-twitter.com/offline-labs/gas-stack
|
||||||
|
|
||||||
go 1.22.5
|
go 1.22.5
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"gas_stack/pkg/db"
|
"git.offline-twitter.com/offline-labs/gas-stack/pkg/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestCreateAndConnectToDB(t *testing.T) {
|
func TestCreateAndConnectToDB(t *testing.T) {
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
package schema
|
package schema
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gas_stack/pkg/textutils"
|
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/jinzhu/inflection"
|
"github.com/jinzhu/inflection"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
|
|
||||||
_ "github.com/mattn/go-sqlite3"
|
_ "github.com/mattn/go-sqlite3"
|
||||||
|
|
||||||
|
"git.offline-twitter.com/offline-labs/gas-stack/pkg/textutils"
|
||||||
)
|
)
|
||||||
|
|
||||||
// InitDB creates an in-memory DB from a given schema string.
|
// InitDB creates an in-memory DB from a given schema string.
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"gas_stack/pkg/schema"
|
"git.offline-twitter.com/offline-labs/gas-stack/pkg/schema"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestParseSchema(t *testing.T) {
|
func TestParseSchema(t *testing.T) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user