Closed wk8 closed 2 years ago
I try add this patch:
diff --git a/gorm/resource/resource.go b/gorm/resource/resource.go
index 6d78620..4445134 100644
--- a/gorm/resource/resource.go
+++ b/gorm/resource/resource.go
@@ -9,7 +9,7 @@ import (
"github.com/golang/protobuf/proto"
- resourcepb "github.com/infobloxopen/atlas-app-toolkit/rpc/resource"
+ resourcepb "github.com/infobloxopen/atlas-app-toolkit/atlas/resource"
"github.com/infobloxopen/atlas-app-toolkit/util"
)
then get this error:
# github.com/infobloxopen/atlas-app-toolkit/gorm/resource
atlas-app-toolkit/gorm/resource/resource.go:124:5: undefined: resource.Nil
atlas-app-toolkit/gorm/resource/resource.go:130:10: undefined: resource.BuildString
atlas-app-toolkit/gorm/resource/resource.go:240:56: undefined: resource.ParseString
Merged into a new gorm_v2 branch in this repo, too, until we can get the protoc-gen-gorm and any other repos that depend on it into a state that also work with the gorm V2 changes
Hi @wk8, Thanks for the nice work.
I try use your branch but get this error:
There is atlas.rpc in your
atlas-app-toolkit jrouge/gorm_v2
branch, but also there isatlas.resource.v1
, how to fix this conflict ?