Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func File ¶ added in v0.3.0
File downloads file and unpack, pick files. Default: dest is local current directory.
func JsonString ¶ added in v0.5.0
JsonString is requests RESTful API then returns the response parsed value (string). https://pkg.go.dev/github.com/tidwall/gjson#readme-path-syntax
Types ¶
type Option ¶
type Option func(*option)
Option represents unpack, pick files option.
func WithDir ¶
WithDir represents downloads file local location option. Default dest is current directory('.').
func WithPickRename ¶
WithPickRename represents downloads file inner pick and rename option.
func WithRename ¶
WithRename represents downloads file local rename option.
type Result ¶ added in v0.5.0
Result represents a json value that is returned from Json(). https://pkg.go.dev/github.com/tidwall/gjson#readme-result-type
Click to show internal directories.
Click to hide internal directories.