test
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
e1a02c8afb
commit
cdd70a9ae3
|
@ -1,6 +1,6 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: monorepo
|
type: monorepo
|
||||||
name: pkg
|
name: ${REPO_NAME}
|
||||||
|
|
||||||
api:
|
api:
|
||||||
- name: example_api
|
- name: example_api
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
**
|
|
@ -2,9 +2,8 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"git.icechen.cn/pkg/go-template/pkg/proto/example_service"
|
"git.icechen.cn/${REPO_NAME}/${REPO_NAME}/pkg/proto/example_service"
|
||||||
"git.icechen.cn/pkg/go-template/pkg/rpc"
|
"git.icechen.cn/${REPO_NAME}/${REPO_NAME}/pkg/rpc"
|
||||||
"github.com/gofiber/fiber/v2"
|
|
||||||
"google.golang.org/protobuf/types/known/emptypb"
|
"google.golang.org/protobuf/types/known/emptypb"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.icechen.cn/pkg/go-template/app/service/example_service/internal/user"
|
"git.icechen.cn/${REPO_NAME}/${REPO_NAME}/app/service/example_service/internal/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
@ -2,7 +2,7 @@ package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"git.icechen.cn/pkg/go-template/pkg/proto/example_service"
|
"git.icechen.cn/${REPO_NAME}/${REPO_NAME}/pkg/proto/example_service"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"google.golang.org/grpc/reflection"
|
"google.golang.org/grpc/reflection"
|
||||||
"google.golang.org/protobuf/types/known/emptypb"
|
"google.golang.org/protobuf/types/known/emptypb"
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module git.icechen.cn/pkg/go-template
|
module git.icechen.cn/${REPO_NAME}/${REPO_NAME}
|
||||||
|
|
||||||
go 1.17
|
go 1.17
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# pkg
|
# ${REPO_NAME}
|
||||||
|
|
||||||
所有应用共享的基础通用库代码
|
所有应用共享的基础通用库代码
|
Loading…
Reference in New Issue