Skip to content

Commit 2c3b7ea

Browse files
authored
Merge pull request #2 from moul/dev/moul/v1
2 parents f137050 + e320a3d commit 2c3b7ea

File tree

13 files changed

+283
-57
lines changed

13 files changed

+283
-57
lines changed

.all-contributorsrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
],
3131
"contributorsPerLine": 7,
32-
"projectName": "golang-repo-template",
32+
"projectName": "testman",
3333
"projectOwner": "moul",
3434
"repoType": "github",
3535
"repoHost": "https://github.com",

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ linters:
2626
- dogsled
2727
- dupl
2828
- errcheck
29-
- funlen
29+
#- funlen
3030
- gochecknoinits
3131
#- gocognit
3232
- goconst

.goreleaser.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,20 @@ archives:
5151
wrap_in_directory: true
5252
brews:
5353
-
54-
name: golang-repo-template
54+
name: testman
5555
# github:
5656
# owner: moul
5757
# name: homebrew-moul
5858
commit_author:
5959
name: moul-bot
6060
email: "bot@moul.io"
61-
homepage: https://github.com/moul/golang-repo-template
62-
description: "golang-repo-template"
61+
homepage: https://github.com/moul/testman
62+
description: "testman"
6363
nfpms:
6464
-
6565
file_name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
66-
homepage: https://github.com/moul/golang-repo-template
67-
description: "golang-repo-template"
66+
homepage: https://github.com/moul/testman
67+
description: "testman"
6868
maintainer: "Manfred Touron <https://manfred.life>"
6969
license: "Apache-2.0 OR MIT"
7070
vendor: moul

COPYRIGHT

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
Copyright 2020 Manfred Touron and other golang-repo-template Developers.
1+
Copyright 2020 Manfred Touron and other testman Developers.
22

33
Intellectual Property Notice
44
----------------------------
55

6-
golang-repo-template is licensed under the Apache License, Version 2.0
6+
testman is licensed under the Apache License, Version 2.0
77
(see LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) or
88
the MIT license (see LICENSE-MIT or http://opensource.org/licenses/MIT),
99
at your option.
1010

11-
Copyrights and patents in the golang-repo-templates project are retained
11+
Copyrights and patents in the testmans project are retained
1212
by contributors.
13-
No copyright assignment is required to contribute to golang-repo-template.
13+
No copyright assignment is required to contribute to testman.
1414

1515
SPDX-License-Identifier: (Apache-2.0 OR MIT)
1616

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG VERSION
77
FROM golang:1.15.1-alpine as builder
88
RUN apk add --no-cache git gcc musl-dev make
99
ENV GO111MODULE=on
10-
WORKDIR /go/src/moul.io/golang-repo-template
10+
WORKDIR /go/src/moul.io/testman
1111
COPY go.* ./
1212
RUN go mod download
1313
COPY . ./
@@ -16,16 +16,16 @@ RUN make install
1616
# minimalist runtime
1717
FROM alpine:3.12
1818
LABEL org.label-schema.build-date=$BUILD_DATE \
19-
org.label-schema.name="golang-repo-template" \
19+
org.label-schema.name="testman" \
2020
org.label-schema.description="" \
21-
org.label-schema.url="https://moul.io/golang-repo-template/" \
21+
org.label-schema.url="https://moul.io/testman/" \
2222
org.label-schema.vcs-ref=$VCS_REF \
23-
org.label-schema.vcs-url="https://github.com/moul/golang-repo-template" \
23+
org.label-schema.vcs-url="https://github.com/moul/testman" \
2424
org.label-schema.vendor="Manfred Touron" \
2525
org.label-schema.version=$VERSION \
2626
org.label-schema.schema-version="1.0" \
27-
org.label-schema.cmd="docker run -i -t --rm moul/golang-repo-template" \
28-
org.label-schema.help="docker exec -it $CONTAINER golang-repo-template --help"
29-
COPY --from=builder /go/bin/golang-repo-template /bin/
30-
ENTRYPOINT ["/bin/golang-repo-template"]
27+
org.label-schema.cmd="docker run -i -t --rm moul/testman" \
28+
org.label-schema.help="docker exec -it $CONTAINER testman --help"
29+
COPY --from=builder /go/bin/testman /bin/
30+
ENTRYPOINT ["/bin/testman"]
3131
#CMD []

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
GOPKG ?= moul.io/golang-repo-template
2-
DOCKER_IMAGE ?= moul/golang-repo-template
1+
GOPKG ?= moul.io/testman
2+
DOCKER_IMAGE ?= moul/testman
33
GOBINS ?= .
44
NPM_PACKAGES ?= .
55

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# golang-repo-template
1+
# testman
22

3-
:smile: golang-repo-template
3+
:smile: testman
44

5-
[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white)](https://pkg.go.dev/moul.io/golang-repo-template)
6-
[![License](https://img.shields.io/badge/license-Apache--2.0%20%2F%20MIT-%2397ca00.svg)](https://github.com/moul/golang-repo-template/blob/master/COPYRIGHT)
7-
[![GitHub release](https://img.shields.io/github/release/moul/golang-repo-template.svg)](https://github.com/moul/golang-repo-template/releases)
8-
[![Docker Metrics](https://images.microbadger.com/badges/image/moul/golang-repo-template.svg)](https://microbadger.com/images/moul/golang-repo-template)
5+
[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white)](https://pkg.go.dev/moul.io/testman)
6+
[![License](https://img.shields.io/badge/license-Apache--2.0%20%2F%20MIT-%2397ca00.svg)](https://github.com/moul/testman/blob/master/COPYRIGHT)
7+
[![GitHub release](https://img.shields.io/github/release/moul/testman.svg)](https://github.com/moul/testman/releases)
8+
[![Docker Metrics](https://images.microbadger.com/badges/image/moul/testman.svg)](https://microbadger.com/images/moul/testman)
99
[![Made by Manfred Touron](https://img.shields.io/badge/made%20by-Manfred%20Touron-blue.svg?style=flat)](https://manfred.life/)
1010

11-
[![Go](https://github.com/moul/golang-repo-template/workflows/Go/badge.svg)](https://github.com/moul/golang-repo-template/actions?query=workflow%3AGo)
12-
[![Release](https://github.com/moul/golang-repo-template/workflows/Release/badge.svg)](https://github.com/moul/golang-repo-template/actions?query=workflow%3ARelease)
13-
[![PR](https://github.com/moul/golang-repo-template/workflows/PR/badge.svg)](https://github.com/moul/golang-repo-template/actions?query=workflow%3APR)
14-
[![GolangCI](https://golangci.com/badges/github.com/moul/golang-repo-template.svg)](https://golangci.com/r/github.com/moul/golang-repo-template)
15-
[![codecov](https://codecov.io/gh/moul/golang-repo-template/branch/master/graph/badge.svg)](https://codecov.io/gh/moul/golang-repo-template)
16-
[![Go Report Card](https://goreportcard.com/badge/moul.io/golang-repo-template)](https://goreportcard.com/report/moul.io/golang-repo-template)
17-
[![CodeFactor](https://www.codefactor.io/repository/github/moul/golang-repo-template/badge)](https://www.codefactor.io/repository/github/moul/golang-repo-template)
11+
[![Go](https://github.com/moul/testman/workflows/Go/badge.svg)](https://github.com/moul/testman/actions?query=workflow%3AGo)
12+
[![Release](https://github.com/moul/testman/workflows/Release/badge.svg)](https://github.com/moul/testman/actions?query=workflow%3ARelease)
13+
[![PR](https://github.com/moul/testman/workflows/PR/badge.svg)](https://github.com/moul/testman/actions?query=workflow%3APR)
14+
[![GolangCI](https://golangci.com/badges/github.com/moul/testman.svg)](https://golangci.com/r/github.com/moul/testman)
15+
[![codecov](https://codecov.io/gh/moul/testman/branch/master/graph/badge.svg)](https://codecov.io/gh/moul/testman)
16+
[![Go Report Card](https://goreportcard.com/badge/moul.io/testman)](https://goreportcard.com/report/moul.io/testman)
17+
[![CodeFactor](https://www.codefactor.io/repository/github/moul/testman/badge)](https://www.codefactor.io/repository/github/moul/testman)
1818

1919

2020
## Usage
@@ -26,12 +26,12 @@ TODO
2626
### Using go
2727

2828
```console
29-
$ go get -u moul.io/golang-repo-template
29+
$ go get -u moul.io/testman
3030
```
3131

3232
### Releases
3333

34-
See https://github.com/moul/golang-repo-template/releases
34+
See https://github.com/moul/testman/releases
3535

3636
## Contribute
3737

@@ -54,7 +54,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
5454
<!-- markdownlint-disable -->
5555
<table>
5656
<tr>
57-
<td align="center"><a href="http://manfred.life"><img src="https://avatars1.githubusercontent.com/u/94029?v=4" width="100px;" alt=""/><br /><sub><b>Manfred Touron</b></sub></a><br /><a href="#maintenance-moul" title="Maintenance">🚧</a> <a href="https://github.com/moul/golang-repo-template/commits?author=moul" title="Documentation">📖</a> <a href="https://github.com/moul/golang-repo-template/commits?author=moul" title="Tests">⚠️</a> <a href="https://github.com/moul/golang-repo-template/commits?author=moul" title="Code">💻</a></td>
57+
<td align="center"><a href="http://manfred.life"><img src="https://avatars1.githubusercontent.com/u/94029?v=4" width="100px;" alt=""/><br /><sub><b>Manfred Touron</b></sub></a><br /><a href="#maintenance-moul" title="Maintenance">🚧</a> <a href="https://github.com/moul/testman/commits?author=moul" title="Documentation">📖</a> <a href="https://github.com/moul/testman/commits?author=moul" title="Tests">⚠️</a> <a href="https://github.com/moul/testman/commits?author=moul" title="Code">💻</a></td>
5858
<td align="center"><a href="https://manfred.life/moul-bot"><img src="https://avatars1.githubusercontent.com/u/41326314?v=4" width="100px;" alt=""/><br /><sub><b>moul-bot</b></sub></a><br /><a href="#maintenance-moul-bot" title="Maintenance">🚧</a></td>
5959
</tr>
6060
</table>
@@ -67,7 +67,7 @@ This project follows the [all-contributors](https://github.com/all-contributors/
6767

6868
### Stargazers over time
6969

70-
[![Stargazers over time](https://starchart.cc/moul/golang-repo-template.svg)](https://starchart.cc/moul/golang-repo-template)
70+
[![Stargazers over time](https://starchart.cc/moul/testman.svg)](https://starchart.cc/moul/testman)
7171

7272
## License
7373

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
// |/ | | \ \ / / ' \/ _ \/ // / / |
2727
// || | | | | | /_/_/_/\___/\_,_/_/ |
2828
// +--------------------------------------------------------------+
29-
package main // import "moul.io/golang-repo-template"
29+
package main // import "moul.io/testman"

go.mod

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.sum

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)