fix: 修复 go mod 模块名

This commit is contained in:
周杰 2024-09-14 15:37:01 +08:00
parent 41c2b5d211
commit b169659e02
8 changed files with 9 additions and 10 deletions

2
go.mod
View File

@ -1,3 +1,3 @@
module manabox.cn/tdengine-mapper
module codeup.manabox.cn/public/tdengine-mapper-go
go 1.18

View File

@ -1,4 +1,4 @@
package td_builder
package td_mapping
import (
"database/sql"

View File

@ -1,8 +1,7 @@
package td_builder
package td_mapping
import (
"fmt"
"manabox.cn/tdengine-mapper/syncmap"
"reflect"
"strings"
)
@ -17,7 +16,7 @@ type TableNamer interface {
}
type TdMapping struct {
modelMates syncmap.Map[string, *StructMate]
modelMates Map[string, *StructMate]
}
func (b *TdMapping) scanStruct(data ...any) error {

View File

@ -1,4 +1,4 @@
package td_builder
package td_mapping
import (
"database/sql"

View File

@ -1,4 +1,4 @@
package td_builder
package td_mapping
import (
"fmt"

View File

@ -1,4 +1,4 @@
package syncmap
package td_mapping
import (
"sync"

View File

@ -1,4 +1,4 @@
package syncmap
package td_mapping
import (
"log"

View File

@ -1,4 +1,4 @@
package td_builder
package td_mapping
type TableRowMateria struct {
SuperTableName string