Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectNativeLang ¶
func DetectNativeLang(codeRepoPath string) (Metadata, NativeLang, error)
func ListNamespaces ¶
func ListNamespaces(lekkoPath string, nativeLang NativeLang) (namespaces []string, err error)
func ListNativeConfigFiles ¶
func ListNativeConfigFiles(lekkoPath string, nativeLang NativeLang) ([]string, error)
Types ¶
type GoMetadata ¶
type GoMetadata struct {
ModulePath string
}
type NativeLang ¶
type NativeLang string
var ( GO NativeLang = "go" TS NativeLang = "ts" )
func NativeLangFromExt ¶
func NativeLangFromExt(filename string) (NativeLang, error)
func (*NativeLang) Ext ¶
func (l *NativeLang) Ext() string
func (*NativeLang) GetNamespace ¶
func (l *NativeLang) GetNamespace(filename string) (string, error)
Click to show internal directories.
Click to hide internal directories.