languagedetect

package
v1.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	LanguageDetect(directory string) ([]languages.Language, error)
}

func NewLanguageDetect

func NewLanguageDetect(configs *config.Config, analysisID uuid.UUID) Interface

type LanguageDetect

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

func (*LanguageDetect) LanguageDetect

func (ld *LanguageDetect) LanguageDetect(directory string) ([]languages.Language, error)

type Mock

type Mock struct {
	mock.Mock
}

func (*Mock) LanguageDetect

func (m *Mock) LanguageDetect(directory string) ([]languages.Language, error)

Jump to

Keyboard shortcuts

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