diff --git a/.circleci/config.yml b/.circleci/config.yml index d2c7866..7795bc5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,5 @@ defaults: &defaults - working_directory: /go/src/moul.io/REPLACE_ME + working_directory: /go/src/moul.io/golang-repo-template docker: - image: circleci/golang:1.12 environment: diff --git a/.goreleaser.yml b/.goreleaser.yml index 6d0681d..3fae919 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -18,7 +18,7 @@ changelog: - '^docs:' - '^test:' brew: - name: REPLACE_ME + name: golang-repo-template github: owner: moul name: homebrew-moul @@ -26,4 +26,4 @@ brew: name: moul-bot email: "m+bot@42.am" homepage: https://manfred.life/ - description: "REPLACE_ME" + description: "golang-repo-template" diff --git a/Dockerfile b/Dockerfile index 192926c..d857a22 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/REPLACE_ME +WORKDIR /go/src/moul.io/golang-repo-template COPY go.* ./ RUN go mod download COPY . ./ @@ -10,6 +10,6 @@ RUN make install # minimalist runtime FROM alpine -COPY --from=builder /go/bin/REPLACE_ME /bin/ -ENTRYPOINT ["/bin/REPLACE_ME"] +COPY --from=builder /go/bin/golang-repo-template /bin/ +ENTRYPOINT ["/bin/golang-repo-template"] CMD [] diff --git a/go.mod b/go.mod index 06064e3..f5ecf05 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module moul.io/REPLACE_ME +module moul.io/golang-repo-template go 1.12 diff --git a/main.go b/main.go index 5dbb02d..5f3a415 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,4 @@ -package main // import "moul.io/REPLACE_ME" +package main // import "moul.io/golang-repo-template" import "fmt"