...

Package shellwords

import "github.com/mattn/go-shellwords"
Overview
Index

Overview ▾

Variables

var (
    ParseEnv      bool = false
    ParseBacktick bool = false
)

func Parse

func Parse(line string) ([]string, error)

type Parser

type Parser struct {
    ParseEnv      bool
    ParseBacktick bool
}

func NewParser

func NewParser() *Parser

func (*Parser) Parse

func (p *Parser) Parse(line string) ([]string, error)