Documentation ¶
Index ¶
Constants ¶
View Source
const (
Go gitignoreType = "Go"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
Parser converts strings to their corresponding gitignore type Allows mapping of multiple strings to a single, well known gitignore type For example,
parser(ctx, "golang") "Go" parser(ctx, "go") "Go"
type Service ¶
Service provides gitignore generation services
func NewService ¶
func NewService(options ...ServiceOption) (Service, error)
type ServiceOption ¶
type ServiceOption func(*service) error
func WithLoader ¶
func WithLoader(loader Loader) ServiceOption
func WithParser ¶
func WithParser(parser Parser) ServiceOption
Click to show internal directories.
Click to hide internal directories.