Help us shape the future of Go! Take the 2026 Go Developer Survey

name

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonMark

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

CommonMark is a mark that changes names to common

func (*CommonMark) Change

func (commonMark *CommonMark) Change(string *string) bool

Change implementation

func (*CommonMark) Update

func (commonMark *CommonMark) Update(mark Mark)

Update implementation

type Mark

type Mark interface {
	// Change should change string
	// args:
	//   1. *string - string; a string to be changed
	// return:
	//   true iff. string was changed
	Change(*string) bool

	// Update should update mark based on other mark
	// args:
	//   1. Mark - mark; a mark on which update is based
	Update(Mark)
	// contains filtered or unexported methods
}

Mark is a type used to change names

func CreateMark

func CreateMark(prefix string) Mark

CreateMark is a factory for Mark interface

Jump to

Keyboard shortcuts

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