Installation
Zinc is a normal Go module.
Requirements
Section titled “Requirements”- Go
1.25or newer - An existing Go module, or a new one created with
go mod init
Install
Section titled “Install”go get github.com/0mjs/zincMost applications also use Zinc’s first-party middleware package:
import ( "github.com/0mjs/zinc" "github.com/0mjs/zinc/middleware")The middleware package is part of the same module, so no extra install command is needed.
Create a module
Section titled “Create a module”For a new project:
mkdir hello-zinccd hello-zincgo mod init example.com/hello-zincgo get github.com/0mjs/zincThen create main.go and continue with the Quickstart.
Check the version
Section titled “Check the version”Use the normal Go tooling to inspect the selected version:
go list -m github.com/0mjs/zinc