quoted

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package quoted provides string manipulation utilities. This is elements copied from the go command's internals: https://github.com/golang/go/blob/go1.23rc2/src/cmd/go/internal/base/goflags.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Split

func Split(s string) ([]string, error)

Split splits s into a list of fields, allowing single or double quotes around elements. There is no unescaping or other processing within quoted fields.

Keep in sync with cmd/dist/quoted.go

Types

This section is empty.

Jump to

Keyboard shortcuts

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