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

tsutils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFilePathIncorrect = errors.New("file path incorrect")
	ErrFileNameIncorrect = errors.New("file name incorrect")
)

Functions

func GetLayout

func GetLayout(resultsChan chan<- Result, filePath string)

Types

type FileType

type FileType uint
const (
	FTNone FileType = iota
	FTGo
	FTPython
	FTRust
	FTScala
)

type Result

type Result struct {
	FPath   string
	Results []string
	Err     error
}

func GetResults

func GetResults(fPaths []string) []Result

Jump to

Keyboard shortcuts

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