Getting Started

Let's get started with deploying Cerigo in your compute module. Cerigo itself is a simplified server program built using various tools and components. That way, Cerigo can continuously improve itself in a scalable manner while making the user experience easier.

Understand Cerigo

Before we do something, let’s understand Cerigo in a nut shell.

No Application

Cerigo is a full-fletch library package module. Hence, there are no applications (e.g. cmd/someApp) to go get for.

Supported Version Patterns

Currently, Cerigo releases its packages under a different definition of Semantic Versioning. It is defined as follows:


v = requirement to attach "v"
X = flag to indicate package mode ("production" = 1 | "development = "0" )
Y = non-backward compatible version release
Z = backward compatible version release. Reset to 0 if Y is increased.

Example: for v0.2.0, v0.2.1, v0.3.0, and v1.3.0, the time sequences and priority list (latest updates first) would be:


Using Branching Over Tagging

We decided to use branching over tagging mainly because the current go get enforces version folder implementation or magical go.mod definitions.

We tried both ways. They are a roller-coaster experience for Cerigo team so to keep things simple, we stick to branching and keep the major number between 0 and 1 as a flag instead.

Hence, when you update Cerigo in your go.mod, you can use any of the following patterns:

$ go get             // latest stable release
$ go get          // next stable (testing)
$ go get             // bleeding edge
$ go get  // v0.0.1 release

Using Cerigo

Now that we understand how Cerigo works, we can proceed to use it in your project.

Import Statement

To import any of Cerigo’s library package, you can call in the import statement like the usual Go style. For example, to import demo/XYZ package, you can do the following:

import ""

If you’re using import group, the best practice would be:

import (
						// leave a space here
	""		// include library

Update Cerigo

To update your go.mod automatically, you can go get it at the go.mod directory level:

$ go get

Example, to track next branch, it is:

$ go get


That’s it. Cerigo is that easy to use in Go project. The rest of the steps would be checking out the Go Documentations section and apply the necessary modules to it. If you have any questions, please feel free to raise a ticket at our Issues section available here: