Skip to main content

Building Go Applications

Prerequisites

  • Go 1.27 or later (recommended)
  • Git (required for building from source)
  • (Optional, recommended) Local certificate tool mkcert (for TLS usage)
1

Initialize Go module

If you haven’t already, initialize a Go module in your project directory.
2

Get gomoqt

Download the package in your Go environment.
3

Importing packages

gomoqt provides the following packages, which can be imported into your Go application. moqt is the main package and the only one most applications need:Example of importing the moqt package: