1 Commits

Author SHA1 Message Date
b169659e02 fix: 修复 go mod 模块名 2024-09-14 15:43:43 +08:00
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 go 1.18

View File

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

View File

@@ -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 {

View File

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

View File

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

View File

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

View File

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

View File

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