Skip to content

counterapi/counter-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Counter API Go Library

logo

Check Coverall Report Doc License

Go Library for Counter API.

CLI command to counter things

Usage:
  counter [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  counts      Fetches counts of counter
  down        Count down for given name
  get         Fetches counter information
  help        Help about any command
  set         Sets counter
  up          Count up for given name
  version     Print the version/build number

Flags:
  -h, --help   help for counter

Use "counter [command] --help" for more information about a command.

Requirements

  • Go installed.

What does it do?

Go library for Counter API. It does provide both CLI and SDK.

How to use it

  1. Install Go package.
go get -u github.com/counterapi/counter
counter up --name MyCounter --namespace example.com

Improvements to be made

  • 100% test coverage.
  • Better covering for other features.

License

MIT