fix: 修复 go mod 模块名
This commit is contained in:
parent
41c2b5d211
commit
b169659e02
2
go.mod
2
go.mod
@ -1,3 +1,3 @@
|
|||||||
module manabox.cn/tdengine-mapper
|
module codeup.manabox.cn/public/tdengine-mapper-go
|
||||||
|
|
||||||
go 1.18
|
go 1.18
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package td_builder
|
package td_mapping
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
package td_builder
|
package td_mapping
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"manabox.cn/tdengine-mapper/syncmap"
|
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
@ -17,7 +16,7 @@ type TableNamer interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type TdMapping struct {
|
type TdMapping struct {
|
||||||
modelMates syncmap.Map[string, *StructMate]
|
modelMates Map[string, *StructMate]
|
||||||
}
|
}
|
||||||
|
|
||||||
func (b *TdMapping) scanStruct(data ...any) error {
|
func (b *TdMapping) scanStruct(data ...any) error {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package td_builder
|
package td_mapping
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
|
2
scan.go
2
scan.go
@ -1,4 +1,4 @@
|
|||||||
package td_builder
|
package td_mapping
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package syncmap
|
package td_mapping
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"sync"
|
"sync"
|
@ -1,4 +1,4 @@
|
|||||||
package syncmap
|
package td_mapping
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
Loading…
Reference in New Issue
Block a user