diff options
Diffstat (limited to '')
-rw-r--r-- | telebot/go.mod | 2 | ||||
-rw-r--r-- | telebot/makefile | 10 | ||||
-rw-r--r-- | telebot/v1/telegram.pb.go (renamed from telebot/protobuf/v1/telegram.pb.go) | 0 | ||||
-rw-r--r-- | telebot/v1/telegram.proto (renamed from telebot/protobuf/v1/telegram.proto) | 0 |
4 files changed, 6 insertions, 6 deletions
diff --git a/telebot/go.mod b/telebot/go.mod index c010507..834fe47 100644 --- a/telebot/go.mod +++ b/telebot/go.mod @@ -1,4 +1,4 @@ -module github.com/terminaldweller/grpc/telebot/protobuf/v1 +module github.com/terminaldweller/grpc/telebot/v1 go 1.15 diff --git a/telebot/makefile b/telebot/makefile index 9f91c59..70c353b 100644 --- a/telebot/makefile +++ b/telebot/makefile @@ -1,7 +1,7 @@ -DST_DIR?=./protobuf/v1 -SRC_DIR?=./protobuf/v1 -PROTOBUF_SRC_LIST:=$(shell find ./protobuf -name '*.proto' ) -ARTIFACT_LIST:=$(patsubst %.proto, %.pb.go, $(shell find ./protobuf -name '*.proto')) +DST_DIR?=./v1 +SRC_DIR?=./v1 +PROTOBUF_SRC_LIST:=$(shell find ./v1 -name '*.proto' ) +ARTIFACT_LIST:=$(patsubst %.proto, %.pb.go, $(shell find ./v1 -name '*.proto')) DEFAULT: default @@ -9,7 +9,7 @@ default: $(ARTIFACT_LIST) $(SRC_DIR)/%.pb.go:$(SRC_DIR)/%.proto protoc --proto_path=$(SRC_DIR) --go_out=$(DST_DIR) --go_opt=paths=source_relative $< - if [ -d go.mod ];then : else;go mod init github.com/terminaldweller/grpc/telebot/protobuf/v1;fi + if [ -d go.mod ];then : else;go mod init github.com/terminaldweller/grpc/telebot/v1;fi go mod tidy clean: diff --git a/telebot/protobuf/v1/telegram.pb.go b/telebot/v1/telegram.pb.go index ab46f67..ab46f67 100644 --- a/telebot/protobuf/v1/telegram.pb.go +++ b/telebot/v1/telegram.pb.go diff --git a/telebot/protobuf/v1/telegram.proto b/telebot/v1/telegram.proto index 9a8ab6f..9a8ab6f 100644 --- a/telebot/protobuf/v1/telegram.proto +++ b/telebot/v1/telegram.proto |