Skip to content

Instantly share code, notes, and snippets.

@dimfeld
Last active February 10, 2016 15:40
Show Gist options
  • Save dimfeld/10e2d19144a8f9cced83 to your computer and use it in GitHub Desktop.
Save dimfeld/10e2d19144a8f9cced83 to your computer and use it in GitHub Desktop.
// DO NOT EDIT!
// Code generated by ffjson <https://github.com/pquerna/ffjson>
// DO NOT EDIT!
package main
import (
importedinceptionpackage "bitbucket.org/freshmedicalleads/datafuse/writer"
"bitbucket.org/freshmedicalleads/datafuse/vendor/github.com/pquerna/ffjson/inception"
// "github.com/pquerna/ffjson/inception"
)
func main() {
i := ffjsoninception.NewInception("esjsontypes.go", "writer", "esjsontypes_ffjson.go")
i.AddMany(importedinceptionpackage.FFJSONExpose())
i.Execute()
}
//go:generate ffjson -nodecoder $GOFILE
package writer
type ESOutput struct {
Id string `json:"_id"`
Parent string `json:"_parent"`
Json map[string]string `json:"json"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment