Last active
February 10, 2016 15:40
-
-
Save dimfeld/10e2d19144a8f9cced83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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