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

master
icechen 2021-12-31 00:47:27 +08:00
parent cdd70a9ae3
commit cfc33380b0
5 changed files with 6 additions and 6 deletions

View File

@ -1,2 +1,2 @@
# ${REPO_NAME} # ${REPO_OWNER} - ${REPO_NAME}

View File

@ -2,8 +2,8 @@ package main
import ( import (
"context" "context"
"git.icechen.cn/${REPO_NAME}/${REPO_NAME}/pkg/proto/example_service" "git.icechen.cn/${REPO_OWNER}/${REPO_NAME}/pkg/proto/example_service"
"git.icechen.cn/${REPO_NAME}/${REPO_NAME}/pkg/rpc" "git.icechen.cn/${REPO_OWNER}/${REPO_NAME}/pkg/rpc"
"google.golang.org/protobuf/types/known/emptypb" "google.golang.org/protobuf/types/known/emptypb"
) )

View File

@ -1,7 +1,7 @@
package main package main
import ( import (
"git.icechen.cn/${REPO_NAME}/${REPO_NAME}/app/service/example_service/internal/user" "git.icechen.cn/${REPO_OWNER}/${REPO_NAME}/app/service/example_service/internal/user"
) )
func main() { func main() {

View File

@ -2,7 +2,7 @@ package user
import ( import (
"context" "context"
"git.icechen.cn/${REPO_NAME}/${REPO_NAME}/pkg/proto/example_service" "git.icechen.cn/${REPO_OWNER}/${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
View File

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