Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandPath ¶ added in v1.20.3
ExpandPath expands leading ~ to user's home directory.
func ExportQueryResult ¶
func ExportQueryResult(result *db.QueryResult, format ExportFormat, filePath string) (string, *errors.XError)
Types ¶
type ExportFormat ¶
type ExportFormat string
const ( FormatCSV ExportFormat = "csv" FormatJSON ExportFormat = "json" )
Click to show internal directories.
Click to hide internal directories.