os-go-docid
DocID for Golang.
Python version is here.
Install
You can get the library with go get
go get -u github.com/cfhamlet/os-go-docid
The binary command line tool can be build from source, you should always build the latest released version , Releases List
git clone -b v0.0.2 https://github.com/cfhamlet/os-go-docid.git
cd os-go-docid
make install
Document
Read the GoDoc.
Usage
APIs
import "github.com/cfhamlet/os-go-docid/docid"
url := "http://www.example.com/"
d, e := docid.New(url)
Command line
$ go-docid -h
go-docid development
usage: go-docid [-hvV] [-f file list]
options:
-V show verbos version info and exit
-f value
comma separated file list (default: stdin)
-v show version and exit
License
MIT licensed.