Discover Packages
github.com/dcb9/curl2httpie
shellwords
package
Version:
v0.0.0-...-290008c
Opens a new window with list of versions in this module.
Published: Dec 25, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Split is a conveinence method for splitting a string into tokens. It is equivalent to the code:
New(str).Split()
Splitter is used to split an input string into tokens.
New creates a new splitter for a given string.
Next returns the next token from the splitter. This returns the token and whether or not
the token was successfully scanned. If the end of the string is encountered, the second
return value will be false.
Split scans until the end of the string and return the remaining tokens as a slice. If no
more tokens are present, this returns an empty slice.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.