Documentation ¶
Index ¶
- Constants
- func BindFlags(cmd *cobra.Command)
- func CacheDir() string
- func DeleteFile(filepath string) error
- func FileWalk(root string, walkFn func(r io.Reader, path string) error) error
- func FormatCnnvdRef(refLink string) string
- func FormatMonth(month time.Month) (int, error)
- func GetCNNVDFromFile(dir string) ([]*model.VulDetail, error)
- func Mkdir(dir string) error
- func RandInt() int
- func ReadFile(filepath string, data any) error
- func SizeOfFile(filepath string) (string, error)
- func URL(scheme, host, path string) *url.URL
- func WriteFile(filepath string, data any) error
- type Git
- type HTTP
Constants ¶
View Source
const ( Get = "GET" Post = "POST" )
Variables ¶
This section is empty.
Functions ¶
func DeleteFile ¶
func FormatCnnvdRef ¶
func SizeOfFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.