mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
change package name for tools and remove unnecessary doc.go
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
This commit is contained in:
parent
9fc3b2ad40
commit
4b9b38238b
@ -1,22 +0,0 @@
|
|||||||
// Copyright 2024 The etcd Authors
|
|
||||||
//
|
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
// you may not use this file except in compliance with the License.
|
|
||||||
// You may obtain a copy of the License at
|
|
||||||
//
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
//
|
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
// See the License for the specific language governing permissions and
|
|
||||||
// limitations under the License.
|
|
||||||
|
|
||||||
// As this directory implements the pattern for tracking tool dependencies as documented here:
|
|
||||||
// https://go.dev/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module, it doesn't
|
|
||||||
// contain any valid go source code in the directory directly. This would break scripts for
|
|
||||||
// unit testing, golangci-lint, and coverage calculation.
|
|
||||||
//
|
|
||||||
// Thus, to ensure tools to run normally, we've added this empty file.
|
|
||||||
|
|
||||||
package mod
|
|
||||||
@ -18,7 +18,7 @@
|
|||||||
// https://go.dev/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
|
// https://go.dev/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
|
||||||
// for etcd. Thanks to this file 'go mod tidy' does not removes dependencies.
|
// for etcd. Thanks to this file 'go mod tidy' does not removes dependencies.
|
||||||
|
|
||||||
package libs
|
package mod
|
||||||
|
|
||||||
import (
|
import (
|
||||||
_ "github.com/gogo/protobuf/proto"
|
_ "github.com/gogo/protobuf/proto"
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
// https://go.dev/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
|
// https://go.dev/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
|
||||||
// for etcd. Thanks to this file 'go mod tidy' does not removes dependencies.
|
// for etcd. Thanks to this file 'go mod tidy' does not removes dependencies.
|
||||||
|
|
||||||
package tools
|
package mod
|
||||||
|
|
||||||
import (
|
import (
|
||||||
_ "github.com/alexfalkowski/gocovmerge"
|
_ "github.com/alexfalkowski/gocovmerge"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user