Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
goloop committed Jun 9, 2022
1 parent 54b3330 commit a82361d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Commands:
Create readme from the GoLang code

Requires `godocdown`, install as:
go get github.com/robertkrimen/godocdown/godocdown
go instal github.com/robertkrimen/godocdown/godocdown
tag
Create git-tag with current version of package
endef
Expand All @@ -51,7 +51,7 @@ cover:
go tool cover -html=/tmp/coverage.out
readme:
ifeq (, $(shell which godocdown))
@go get github.com/robertkrimen/godocdown/godocdown
@go install github.com/robertkrimen/godocdown/godocdown
endif
@godocdown -plain=true -template=.godocdown.md ./ | \
sed -e 's/\.ModuleVersion/v${MODULE_VERSION}/g' > README.md
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Go Report Card](https://goreportcard.com/badge/github.com/goloop/opt)](https://goreportcard.com/report/github.com/goloop/opt) [![License](https://img.shields.io/badge/license-BSD-blue)](https://github.com/goloop/opt/blob/master/LICENSE) [![License](https://img.shields.io/badge/godoc-YES-green)](https://godoc.org/github.com/goloop/opt)


*Version: v1.0.1*
*Version: v1.0.3*

# opt

Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Package opt implements methods for manage arguments of the command-line.
package opt

const version = "1.0.2"
const version = "1.0.3"

// Version returns the version of the module.
func Version() string {
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ module github.com/goloop/opt

go 1.15

require github.com/goloop/scs v1.0.1
require (
github.com/goloop/scs v1.0.1
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
github.com/goloop/scs v1.0.1 h1:6QnhDIH2pzrGrbwhCFSJWcqfjqu4z9cLfE3kpfeCx/4=
github.com/goloop/scs v1.0.1/go.mod h1:De464a22sqV3KyrR0mqa8qgS6nSFpdeX5ePKEJxXNxo=
github.com/robertkrimen/godocdown v0.0.0-20130622164427-0bfa04905481 h1:jMxcLa+VjJKhpCwbLUXAD15wJ+hhvXMLujCl3MkXpfM=
github.com/robertkrimen/godocdown v0.0.0-20130622164427-0bfa04905481/go.mod h1:C9WhFzY47SzYBIvzFqSvHIR6ROgDo4TtdTuRaOMjF/s=

0 comments on commit a82361d

Please sign in to comment.