From e53b009c30d68fdc8d26724cb07433290446dda3 Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Mon, 5 Aug 2019 21:53:36 +0200 Subject: [PATCH] chore: s/cryptoguesser/cryptoguess/ --- .circleci/config.yml | 6 +++--- .goreleaser.yml | 4 ++-- Dockerfile | 6 +++--- README.md | 30 +++++++++++++++--------------- cryptoguess/cryptoguess.go | 2 +- doc.go | 2 +- go.mod | 2 +- main.go | 4 ++-- 8 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 447dbf6..8cb9d34 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,12 +2,12 @@ version: 2.1 executors: golang: - working_directory: /go/src/moul.io/cryptoguesser + working_directory: /go/src/moul.io/cryptoguess docker: - image: circleci/golang:1.12 environment: GO111MODULE: "on" - DOCKER_IMAGE: moul/cryptoguesser + DOCKER_IMAGE: moul/cryptoguess docker: docker: @@ -43,7 +43,7 @@ jobs: - setup_remote_docker: docker_layer_caching: true - docker/build: - image: moul/cryptoguesser + image: moul/cryptoguess #- docker/dockerlint workflows: diff --git a/.goreleaser.yml b/.goreleaser.yml index 97b1e61..01849c0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -30,7 +30,7 @@ changelog: - '^docs:' - '^test:' brew: - name: cryptoguesser + name: cryptoguess github: owner: moul name: homebrew-moul @@ -38,4 +38,4 @@ brew: name: moul-bot email: "m+bot@42.am" homepage: https://manfred.life/ - description: "cryptoguesser" + description: "cryptoguess" diff --git a/Dockerfile b/Dockerfile index 8c41c4e..1346a2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM golang:1.12-alpine as builder RUN apk add --no-cache git gcc musl-dev make ENV GO111MODULE=on -WORKDIR /go/src/moul.io/cryptoguesser +WORKDIR /go/src/moul.io/cryptoguess COPY go.* ./ RUN go mod download COPY . ./ @@ -10,6 +10,6 @@ RUN make install # minimalist runtime FROM alpine:3.10 -COPY --from=builder /go/bin/cryptoguesser /bin/ -ENTRYPOINT ["/bin/cryptoguesser"] +COPY --from=builder /go/bin/cryptoguess /bin/ +ENTRYPOINT ["/bin/cryptoguess"] CMD [] diff --git a/README.md b/README.md index fda3751..c8b672c 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,32 @@ -# cryptoguesser - -:smile: cryptoguesser does - -[![CircleCI](https://circleci.com/gh/moul/cryptoguesser.svg?style=shield)](https://circleci.com/gh/moul/cryptoguesser) -[![GoDoc](https://godoc.org/moul.io/cryptoguesser?status.svg)](https://godoc.org/moul.io/cryptoguesser) -[![License](https://img.shields.io/github/license/moul/cryptoguesser.svg)](https://github.com/moul/cryptoguesser/blob/master/LICENSE) -[![GitHub release](https://img.shields.io/github/release/moul/cryptoguesser.svg)](https://github.com/moul/cryptoguesser/releases) -[![Go Report Card](https://goreportcard.com/badge/moul.io/cryptoguesser)](https://goreportcard.com/report/moul.io/cryptoguesser) -[![CodeFactor](https://www.codefactor.io/repository/github/moul/cryptoguesser/badge)](https://www.codefactor.io/repository/github/moul/cryptoguesser) -[![codecov](https://codecov.io/gh/moul/cryptoguesser/branch/master/graph/badge.svg)](https://codecov.io/gh/moul/cryptoguesser) -[![Docker Metrics](https://images.microbadger.com/badges/image/moul/cryptoguesser.svg)](https://microbadger.com/images/moul/cryptoguesser) +# cryptoguess + +:smile: cryptoguess does + +[![CircleCI](https://circleci.com/gh/moul/cryptoguess.svg?style=shield)](https://circleci.com/gh/moul/cryptoguess) +[![GoDoc](https://godoc.org/moul.io/cryptoguess?status.svg)](https://godoc.org/moul.io/cryptoguess) +[![License](https://img.shields.io/github/license/moul/cryptoguess.svg)](https://github.com/moul/cryptoguess/blob/master/LICENSE) +[![GitHub release](https://img.shields.io/github/release/moul/cryptoguess.svg)](https://github.com/moul/cryptoguess/releases) +[![Go Report Card](https://goreportcard.com/badge/moul.io/cryptoguess)](https://goreportcard.com/report/moul.io/cryptoguess) +[![CodeFactor](https://www.codefactor.io/repository/github/moul/cryptoguess/badge)](https://www.codefactor.io/repository/github/moul/cryptoguess) +[![codecov](https://codecov.io/gh/moul/cryptoguess/branch/master/graph/badge.svg)](https://codecov.io/gh/moul/cryptoguess) +[![Docker Metrics](https://images.microbadger.com/badges/image/moul/cryptoguess.svg)](https://microbadger.com/images/moul/cryptoguess) [![Made by Manfred Touron](https://img.shields.io/badge/made%20by-Manfred%20Touron-blue.svg?style=flat)](https://manfred.life/) ## Usage ```console -$ cryptoguesser -h +$ cryptoguess -h ... ``` ## Install ```console -$ go get -u moul.io/cryptoguesser +$ go get -u moul.io/cryptoguess ``` ## License © 2019 [Manfred Touron](https://manfred.life) - -[Apache-2.0 License](https://github.com/moul/cryptoguesser/blob/master/LICENSE) +[Apache-2.0 License](https://github.com/moul/cryptoguess/blob/master/LICENSE) diff --git a/cryptoguess/cryptoguess.go b/cryptoguess/cryptoguess.go index b7c2a8f..e7d44d5 100644 --- a/cryptoguess/cryptoguess.go +++ b/cryptoguess/cryptoguess.go @@ -1,4 +1,4 @@ -package cryptoguess // import "moul.io/cryptoguesser/cryptoguess" +package cryptoguess // import "moul.io/cryptoguess/cryptoguess" import ( "fmt" "reflect" diff --git a/doc.go b/doc.go index 26016ed..49e49dc 100644 --- a/doc.go +++ b/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package main is ... -package main // import "moul.io/cryptoguesser" +package main // import "moul.io/cryptoguess" diff --git a/go.mod b/go.mod index 0cc1ded..3b05a76 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module moul.io/cryptoguesser +module moul.io/cryptoguess go 1.12 diff --git a/main.go b/main.go index a5e4142..2bb1cd6 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,4 @@ -package main // import "moul.io/cryptoguesser" +package main // import "moul.io/cryptoguess" import ( "bufio" @@ -6,7 +6,7 @@ import ( "io" "os" - "moul.io/cryptoguesser/cryptoguess" + "moul.io/cryptoguess/cryptoguess" ) func main() {