parser

package
v0.0.0-...-8e1dd2c Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RAW_REPO_REGEX = regexp.MustCompile(`^(?P<name>.+)=(?P<url>.+)$`)

Functions

This section is empty.

Types

type CsvParser

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

func NewCsvParser

func NewCsvParser(fileName string) *CsvParser

func (*CsvParser) ParseWriteInto

func (csvParser *CsvParser) ParseWriteInto(repositories map[string]utils.Repository) error

type Parser

type Parser interface {
	ParseWriteInto(map[string]utils.Repository) error
}

type RawParser

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

func NewRawParser

func NewRawParser(repos []string) *RawParser

func (*RawParser) ParseWriteInto

func (rawParser *RawParser) ParseWriteInto(repositories map[string]utils.Repository) error

Jump to

Keyboard shortcuts

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