gclib

package
v0.0.0-...-33bfb6d Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBundleDir

func GetBundleDir() (string, error)

GetBundleDir return bundle directory

func GetPatternDir

func GetPatternDir() (string, error)

GetPatternDir return pattern directory

func GrepBundle

func GrepBundle(bundleName, files string, options *Options)

GrepBundle throw a gc Bundle

func GrepPattern

func GrepPattern(patName, files string, options *Options)

GrepPattern throw a gc pattern

Types

type Options

type Options struct {
	Quiet    bool
	Testless bool
	Stdin    bool
}

Options struct centralize options in the tool

func NewOptions

func NewOptions() *Options

NewOptions init Options struct

Jump to

Keyboard shortcuts

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