version

package
v0.5.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package version defines version of this repo.

It provides backward compatibility checking. Most data structure defined in this repo provides with serializing/deserializing APIs. Serialized data has a version to describe its structure.

Index

Constants

View Source
const (
	// Latest supported version.
	//
	// On-disk data structure with older version can be read by a newer program.
	VERSION = "1.0.0"

	// Fixed size in byte for serialized version.
	//
	// verion is serialized as a string with a trailing '\0'.
	MAXLEN = 16
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version string

type VersionGetter

type VersionGetter interface {
	GetVersion() Version
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL