Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendFlagsToAPI ¶
func SendFlagsToAPI(cfg *config.Config, results []model.FileSearchResult) (err error)
SendFlagsToAPI takes file search result & sends flag info to the API
Types ¶
type AuthRequest ¶
type AuthResponse ¶
type Flag ¶
type Flag struct { FlagKey string `json:"flagKey"` FilePath string `json:"filePath"` LineNumber int `json:"lineNumber"` Code string `json:"code"` CodeLineHighlight int `json:"codeLineHighlight"` }
Flag represent a flag code info sent to the Flagship API
type FlagUsageRequest ¶
Click to show internal directories.
Click to hide internal directories.