override

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 17, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package override contains a translator and license resolver using a raw map[string]string

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TranslateOverride

type TranslateOverride struct {
	Match   *regexp.Regexp
	Replace string
}

type Translator

type Translator struct {
	// contains filtered or unexported fields
}

func NewTranslator

func NewTranslator(log *zap.Logger, overrides []TranslateOverride) *Translator

func (Translator) Translate

Jump to

Keyboard shortcuts

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