jsonMapping

package
v0.0.0-...-7cb8f44 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSample

func CreateSample() bool

CreateSample simple sample file for .commit.json

func EncodeJsonConfig

func EncodeJsonConfig(config CommitConfig) []byte

Types

type CommitConfig

type CommitConfig struct {
	Name        string
	Description string
	Rules       []PrefixRule
}

func DecodeJsonConfig

func DecodeJsonConfig(input string) CommitConfig

type PrefixRule

type PrefixRule struct {
	Prefix      string
	Description string
}

Jump to

Keyboard shortcuts

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