Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Namespace ¶
type Namespace struct {
Name string
Features []*featurev1beta1.Feature
}
TODO - make this our proto rep?
type NativeLang ¶
type NativeLang string
var ( GO NativeLang = "go" TS NativeLang = "ts" )
func DetectNativeLang ¶
func DetectNativeLang() (NativeLang, error)
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
Click to show internal directories.
Click to hide internal directories.