func New() *Grok { grok := new(Grok) grok.g = C.grok_new() if grok.g == nil { return nil } return grok }
func New() *Grok { grok := new(Grok) grok.g = C.grok_new() if grok.g == nil { return nil } grok.stringCache = make(map[uintptr]string) return grok }
func NewGrok() (obj Grok) { obj = Grok{} obj.Obj = C.grok_new() return obj }
func New() *Grok { grok := C.grok_new() return &Grok{grok: grok} }