Skip to content

Commit e4eafa5

Browse files
committed
Projekt setup + length command
0 parents  commit e4eafa5

22 files changed

+1359
-0
lines changed

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
vendor/
2+
3+
build/
4+
5+
# Created by .ignore support plugin (hsz.mobi)
6+
### Go template
7+
# Binaries for programs and plugins
8+
*.exe
9+
*.exe~
10+
*.dll
11+
*.so
12+
*.dylib
13+
.idea
14+
15+
# Test binary, build with `go test -c`
16+
*.test
17+
18+
# Output of the go coverage tool, specifically when used with LiteIDE
19+
*.out
20+
21+
*.log

Makefile

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
2+
# The path from makefile to project
3+
PROJECT_PATH=.
4+
5+
# The folder where the builds are stored - usually bin or build
6+
PROJECT_BUILD_FOLDER=build
7+
8+
# This how we want to name the binary output
9+
BINARY=gutils
10+
11+
# These are the values we want to pass for VERSION and BUILD
12+
VERSION=`git describe --tags`
13+
BUILD=`date +%FT%T%z`
14+
15+
# The build flags
16+
LDFLAGS=-ldflags "-w -s -X main.Version=${VERSION} -X main.Build=${BUILD}"
17+
18+
BUILD_FULL_PATH=${PROJECT_BUILD_FOLDER}
19+
ENTRY_FILE_PATH=./main.go
20+
21+
build:
22+
rm -rf ${PROJECT_PATH}/${PROJECT_BUILD_FOLDER}
23+
cd ${PROJECT_PATH} && go mod tidy
24+
cd ${PROJECT_PATH} && go mod verify
25+
cd ${PROJECT_PATH} && env go build ${LDFLAGS} -o ${BUILD_FULL_PATH}/${BINARY} ${ENTRY_FILE_PATH}
26+
cd ${PROJECT_PATH} && env GOOS=darwin go build ${LDFLAGS} -o ${BUILD_FULL_PATH}/darwin/${BINARY} ${ENTRY_FILE_PATH}
27+
cd ${PROJECT_PATH} && env GOOS=linux go build ${LDFLAGS} -o ${BUILD_FULL_PATH}/linux/${BINARY} ${ENTRY_FILE_PATH}
28+
cd ${PROJECT_PATH} && env GOOS=windows GOARCH=386 go build ${LDFLAGS} -o ${BUILD_FULL_PATH}/windows/${BINARY}.exe ${ENTRY_FILE_PATH}
29+
@echo "\n\nBinary built at ${PROJECT_PATH}/${BUILD_FULL_PATH}"
30+
31+
build-dev:
32+
rm -rf ${PROJECT_PATH}/${BUILD_FULL_PATH}/${BINARY}
33+
cd ${PROJECT_PATH} && go mod tidy
34+
cd ${PROJECT_PATH} && go mod verify
35+
cd ${PROJECT_PATH} && env go build ${LDFLAGS} -o ${BUILD_FULL_PATH}/${BINARY} ${ENTRY_FILE_PATH}
36+
37+
run:
38+
cd ${PROJECT_PATH} && ${BUILD_FULL_PATH}/${BINARY} $(filter-out $@,$(MAKECMDGOALS)) ${ARGS}
39+
40+
run-dev:
41+
cd ${PROJECT_PATH} && APP_ENV=development ${BUILD_FULL_PATH}/${BINARY} $(filter-out $@,$(MAKECMDGOALS)) ${ARGS}
42+
43+
clean:
44+
rm -rf ${PROJECT_PATH}/${PROJECT_BUILD_FOLDER} ${PROJECT_PATH}/vendor
45+
cd ${PROJECT_PATH} && go mod vendor
46+
47+
test:
48+
cd ${PROJECT_PATH}/pkg/calculate/scale/length && go test
49+
50+
%:
51+
@:
52+
53+
.PHONY: build clean

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# G-Utils
2+
Some CLI Tools written in Go.
3+
> Mainly for private purposes

cmd/calculate/CalculateCommand.go

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package calculate
2+
3+
import (
4+
"github.com/bmaximilian/gutils/cmd/calculate/scale"
5+
"github.com/spf13/cobra"
6+
)
7+
8+
var CalculateCommand = &cobra.Command{
9+
Use: "calculate",
10+
Short: "Perform calculation stuff",
11+
}
12+
13+
// Set the default viper values
14+
func SetDefaults() {
15+
scale.SetDefaults()
16+
}
17+
18+
// Initializes the command line tool
19+
func InitCalculateCommand() {
20+
scale.InitScaleCommand()
21+
CalculateCommand.AddCommand(scale.ScaleCommand)
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package scale
2+
3+
import (
4+
"github.com/bmaximilian/gutils/cmd/calculate/scale/length"
5+
"github.com/spf13/cobra"
6+
"github.com/spf13/viper"
7+
)
8+
9+
var ScaleCommand = &cobra.Command{
10+
Use: "scale",
11+
Short: "Perform scale conversion stuff",
12+
}
13+
14+
// Set the default viper values
15+
func SetDefaults() {
16+
viper.SetDefault("calculate.scale", 0.00)
17+
}
18+
19+
// Initializes the command line tool
20+
func InitScaleCommand() {
21+
ScaleCommand.AddCommand(length.LengthCommand)
22+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
package length
2+
3+
import (
4+
"github.com/bmaximilian/gutils/pkg/calculate/scale/length"
5+
"github.com/bmaximilian/gutils/pkg/util/logger"
6+
"github.com/fatih/color"
7+
googleLogger "github.com/google/logger"
8+
"github.com/spf13/cobra"
9+
"github.com/spf13/viper"
10+
"log"
11+
"strconv"
12+
"strings"
13+
)
14+
15+
var LengthCommand = &cobra.Command{
16+
Use: "length [length] [sourceUnit] [destinationUnit]",
17+
Short: "Calculate a length",
18+
Args: cobra.ExactArgs(3),
19+
Run: func(cmd *cobra.Command, args []string) {
20+
l := logger.GetLogger()
21+
googleLogger.SetFlags(log.LUTC)
22+
scale := viper.Get("calculate.scale").(float64)
23+
sourceUnit := args[1]
24+
destinationUnit := args[2]
25+
passedLength, parseError := strconv.ParseFloat(strings.Replace(args[0], ",", ".", -1), 64)
26+
27+
if parseError != nil {
28+
l.Fatalln(parseError)
29+
}
30+
31+
converted, conversionError := length.ConvertForScale(passedLength, sourceUnit, scale, destinationUnit)
32+
if conversionError != nil {
33+
l.Fatalln(conversionError)
34+
}
35+
36+
l.Infof(
37+
"%v%v sind im Maßstab %v:\t %v%v\n\n",
38+
color.CyanString("%.2f", passedLength),
39+
color.CyanString("%v", sourceUnit),
40+
color.MagentaString("\"1 zu %.1f\"", scale),
41+
color.GreenString("%.4f", converted),
42+
color.GreenString("%v", destinationUnit),
43+
)
44+
},
45+
}

cmd/root.go

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
package cmd
2+
3+
import (
4+
"fmt"
5+
"github.com/bmaximilian/gutils/cmd/calculate"
6+
"github.com/bmaximilian/gutils/cmd/version"
7+
"github.com/spf13/cobra"
8+
"os"
9+
)
10+
11+
var rootCmd = &cobra.Command{Use: "gutils"}
12+
13+
// Set the default viper values
14+
func SetDefaults() {
15+
calculate.SetDefaults()
16+
}
17+
18+
// Initializes the command line tool
19+
func init() {
20+
rootCmd.AddCommand(version.VersionCommand)
21+
22+
calculate.InitCalculateCommand()
23+
rootCmd.AddCommand(calculate.CalculateCommand)
24+
}
25+
26+
// Executes the root command
27+
func Execute() {
28+
err := rootCmd.Execute()
29+
if err != nil {
30+
fmt.Println(err)
31+
os.Exit(1)
32+
}
33+
}

cmd/version/VersionCommand.go

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package version
2+
3+
import (
4+
"fmt"
5+
"github.com/spf13/cobra"
6+
"github.com/spf13/viper"
7+
)
8+
9+
var VersionCommand = &cobra.Command{
10+
Use: "version",
11+
Short: "The current gutils version",
12+
Long: "Print the installed gutils version",
13+
Run: func(cmd *cobra.Command, args []string) {
14+
version := viper.Get("VERSION").(string)
15+
build := viper.Get("BUILD").(string)
16+
17+
fmt.Println("CLI Utils of bmaximilian")
18+
fmt.Println("\tVersion: " + version)
19+
fmt.Println("\tBuild: " + build)
20+
},
21+
}

go.mod

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module github.com/bmaximilian/gutils
2+
3+
require (
4+
github.com/BurntSushi/toml v0.3.1 // indirect
5+
github.com/fatih/color v1.7.0
6+
github.com/google/logger v1.0.1
7+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
8+
github.com/kr/pretty v0.1.0 // indirect
9+
github.com/mattn/go-colorable v0.1.1 // indirect
10+
github.com/mattn/go-isatty v0.0.7 // indirect
11+
github.com/onsi/ginkgo v1.8.0
12+
github.com/onsi/gomega v1.5.0
13+
github.com/spf13/afero v1.2.1 // indirect
14+
github.com/spf13/cobra v0.0.3
15+
github.com/spf13/viper v1.3.1
16+
github.com/stretchr/testify v1.3.0 // indirect
17+
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 // indirect
18+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
19+
)

go.sum

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
2+
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
3+
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
4+
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
5+
github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk=
6+
github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
7+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
8+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
9+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
10+
github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys=
11+
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
12+
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
13+
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
14+
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
15+
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
16+
github.com/google/logger v1.0.1 h1:Jtq7/44yDwUXMaLTYgXFC31zpm6Oku7OI/k4//yVANQ=
17+
github.com/google/logger v1.0.1/go.mod h1:w7O8nrRr0xufejBlQMI83MXqRusvREoJdaAxV+CoAB4=
18+
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
19+
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
20+
github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI=
21+
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
22+
github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
23+
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
24+
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
25+
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
26+
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
27+
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
28+
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
29+
github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY=
30+
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
31+
github.com/mattn/go-colorable v0.1.1 h1:G1f5SKeVxmagw/IyvzvtZE4Gybcc4Tr1tf7I8z0XgOg=
32+
github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ=
33+
github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
34+
github.com/mattn/go-isatty v0.0.7 h1:UvyT9uN+3r7yLEYSlJsbQGdsaB/a0DlgWP3pql6iwOc=
35+
github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
36+
github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE=
37+
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
38+
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
39+
github.com/onsi/ginkgo v1.8.0 h1:VkHVNpR4iVnU8XQR6DBm8BqYjN7CRzw+xKUbVVbbW9w=
40+
github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
41+
github.com/onsi/gomega v1.5.0 h1:izbySO9zDPmjJ8rDjLvkA2zJHIo+HkYXHnf7eN7SSyo=
42+
github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
43+
github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=
44+
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
45+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
46+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
47+
github.com/spf13/afero v1.1.2 h1:m8/z1t7/fwjysjQRYbP0RD+bUIF/8tJwPdEZsI83ACI=
48+
github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
49+
github.com/spf13/afero v1.2.1 h1:qgMbHoJbPbw579P+1zVY+6n4nIFuIchaIjzZ/I/Yq8M=
50+
github.com/spf13/afero v1.2.1/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk=
51+
github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8=
52+
github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
53+
github.com/spf13/cobra v0.0.3 h1:ZlrZ4XsMRm04Fr5pSFxBgfND2EBVa1nLpiy1stUsX/8=
54+
github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
55+
github.com/spf13/jwalterweatherman v1.0.0 h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk=
56+
github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
57+
github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
58+
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
59+
github.com/spf13/viper v1.3.1 h1:5+8j8FTpnFV4nEImW/ofkzEt8VoOiLXxdYIDsB73T38=
60+
github.com/spf13/viper v1.3.1/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
61+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
62+
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
63+
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
64+
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
65+
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
66+
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
67+
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
68+
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9 h1:mKdxBk7AujPs8kU4m80U72y/zjbZ3UcXC7dClwKbUI0=
69+
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
70+
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd h1:nTDtHvHSdCn1m6ITfMRqtOd/9+7a3s8RBNOZ3eYZzJA=
71+
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
72+
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6ZhfOqbKu7X5eyFl8ZhKvA=
73+
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
74+
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
75+
golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
76+
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU=
77+
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
78+
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223 h1:DH4skfRX4EBpamg7iV4ZlCpblAHI6s6TDM39bFZumv8=
79+
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
80+
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
81+
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
82+
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 h1:z99zHgr7hKfrUcX/KsoJk5FJfjTceCKIp96+biqP4To=
83+
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
84+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
85+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
86+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
87+
gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4=
88+
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
89+
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
90+
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
91+
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
92+
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
93+
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

0 commit comments

Comments
 (0)