This is a simple library to make it possible to run Mkcert's main method.
The script that updates the internal package does no logic changes to the source, it simply
- Renames the
mainpackage tointernal. - Renames the
mainfunc toRunMain - Replaces any
log.Fatalwithpanicto allow us to handle the errors. - Exports getCAROOT().
For more advanced library usage, see this issue.
The mkcert source code is stored in a Git submodule to a tagged version, so to generate a new version, you need to clone this repo with --recursive, and then run:
go generate ./genWe use semverpair versioning.