generator

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2018 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISemverGenerator

type ISemverGenerator interface {
	GenerateVersion(projectID uint64, major uint32, minor uint32, branch string) string
}

ISemverGenerator generate version

type SemverGenerator

type SemverGenerator struct {
	VersionRepository model.IVersionRepository `inject:""`
}

SemverGenerator implements `ISemverGenerator` interface

func (*SemverGenerator) GenerateVersion

func (s *SemverGenerator) GenerateVersion(projectID uint64, major uint32, minor uint32, branch string) string

GenerateVersion function generate version for project

Jump to

Keyboard shortcuts

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