format

package
v0.0.0-...-c75b225 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package format provides utilities with which to format data

Package format is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format struct{}

Format provides a concrete implementation of the Formatter interface

func (*Format) SplitCompanyNameEndings

func (f *Format) SplitCompanyNameEndings(name string) (string, string)

SplitCompanyNameEndings splits company name into nameStart and nameEnding in order to remove common name endings

type Formatter

type Formatter interface {
	SplitCompanyNameEndings(name string) (string, string)
}

Formatter provides an interface by which to perform string formatting operations

func NewFormatter

func NewFormatter() Formatter

NewFormatter returns a concrete implementation of the Formatter interface

type MockFormatter

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

MockFormatter is a mock of Formatter interface

func NewMockFormatter

func NewMockFormatter(ctrl *gomock.Controller) *MockFormatter

NewMockFormatter creates a new mock instance

func (*MockFormatter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockFormatter) SplitCompanyNameEndings

func (m *MockFormatter) SplitCompanyNameEndings(arg0 string) (string, string)

SplitCompanyNameEndings mocks base method

type MockFormatterMockRecorder

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

MockFormatterMockRecorder is the mock recorder for MockFormatter

func (*MockFormatterMockRecorder) SplitCompanyNameEndings

func (mr *MockFormatterMockRecorder) SplitCompanyNameEndings(arg0 interface{}) *gomock.Call

SplitCompanyNameEndings indicates an expected call of SplitCompanyNameEndings

Jump to

Keyboard shortcuts

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