Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = cli.Command{ Name: "upload", Usage: "Uploads user-provided test results to FOSSA", Action: Run, ArgsUsage: "<data>", Flags: flags.WithGlobalFlags([]cli.Flag{ cli.BoolFlag{Name: "l, locators", Usage: "upload data in locator format (instead of JSON)"}, }), }
Functions ¶
func ParseLocators ¶
func ParseLocators(locators string) (fossa.SourceUnit, error)
Types ¶
type APIResponse ¶
type APIResponse struct {
Locator string
}
Click to show internal directories.
Click to hide internal directories.