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
|
||||
type: monorepo
|
||||
name: pkg
|
||||
name: ${REPO_NAME}
|
||||
|
||||
api:
|
||||
- name: example_api
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
**
|
|
@ -2,9 +2,8 @@ package main
|
|||
|
||||
import (
|
||||
"context"
|
||||
"git.icechen.cn/pkg/go-template/pkg/proto/example_service"
|
||||
"git.icechen.cn/pkg/go-template/pkg/rpc"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"git.icechen.cn/${REPO_NAME}/${REPO_NAME}/pkg/proto/example_service"
|
||||
"git.icechen.cn/${REPO_NAME}/${REPO_NAME}/pkg/rpc"
|
||||
"google.golang.org/protobuf/types/known/emptypb"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package main
|
||||
|
||||
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() {
|
||||
|
|
|
@ -2,7 +2,7 @@ package user
|
|||
|
||||
import (
|
||||
"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/reflection"
|
||||
"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
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# pkg
|
||||
# ${REPO_NAME}
|
||||
|
||||
所有应用共享的基础通用库代码
|
Loading…
Reference in New Issue