test
continuous-integration/drone/push Build is failing Details

master
icechen 2021-12-31 00:43:53 +08:00
parent e1a02c8afb
commit cdd70a9ae3
8 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
kind: pipeline
type: monorepo
name: pkg
name: ${REPO_NAME}
api:
- name: example_api

1
.gitea/template 100644
View File

@ -0,0 +1 @@
**

View File

@ -1,2 +1,2 @@
# go-template
# ${REPO_NAME}

View File

@ -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"
)

View File

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

View File

@ -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
View File

@ -1,4 +1,4 @@
module git.icechen.cn/pkg/go-template
module git.icechen.cn/${REPO_NAME}/${REPO_NAME}
go 1.17

View File

@ -1,3 +1,3 @@
# pkg
# ${REPO_NAME}
所有应用共享的基础通用库代码