3
* gocommon - Go library to interact with the JoyentCloud
6
* Copyright (c) 2016 Joyent Inc.
8
* Written by Daniele Stroppa <daniele.stroppa@joyent.com>
10
* This Source Code Form is subject to the terms of the Mozilla Public
11
* License, v. 2.0. If a copy of the MPL was not distributed with this
12
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
21
type VersionNum struct {
27
func (v *VersionNum) String() string {
28
return fmt.Sprintf("%d.%d.%d", v.Major, v.Minor, v.Micro)
31
var VersionNumber = VersionNum{
37
var Version = VersionNumber.String()