cnm-go is provides CNM document parsing and composition as a library for the Go programming language.
Additionally, it provides CNMfmt parsing and composition as the contnet.org/lib/cnm-go/cnmfmt
subpackage. For cnm-go to parse text fmt
blocks as CNMfmt, this package must be imported so that the init()
function can register the CNMfmt text content parser.
For example:
import (
"contnet.org/lib/cnm-go"
_ "contnet.org/lib/cnm-go/cnmfmt"
)
Installation¶
cnm-go requires Go 1.8 or later.
Install it with:
go install contnet.org/lib/cnm-go@latest
Usage¶
See documentation.
Source¶
The cnm-go source code is available on https://git.clsr.net/contnet/cnm-go