Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
TiganeteaRobert committed May 10, 2022
1 parent be924a7 commit 2ef8309
Show file tree
Hide file tree
Showing 152 changed files with 31,440 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version 0.2.0 (2022-05-09)
-------------------------
Extend Get* methods to allow getting fields from self-describing data (#9)
Update README quickstart example to code that actually runs (#13)
Add further badges to README (#5)

Version 0.1.0 (2021-05-26)
--------------------------
Update json-iterator (#11)
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,21 @@ func (event ParsedEvent) ToMapWithGeo() (map[string]interface{}, error)

ToMapWithGeo adds the geo_location field, and transforms a valid Snowplow ParsedEvent to a Go map.

```go
func (event ParsedEvent) GetUnstructEventValue(path ...interface{}) (interface{}, error) {
```
GetUnstructEventValue gets a value from a parsed event's unstruct_event using it's path (`example1[0].example2`).
```go
func (event ParsedEvent) GetContextValue(contextName string, path ...interface{}) (interface{}, error) {
```
GetContextValue gets a value from a parsed event's contexts using it's path (`contexts_example_1.example[0]`)
### Note
Version 0.2.1 should be used instead of version 0.2.0.
## Copyright and license
Snowplow Golang Analytics SDK is copyright 2021 Snowplow Analytics Ltd.
Expand Down
15 changes: 15 additions & 0 deletions vendor/github.com/davecgh/go-spew/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

145 changes: 145 additions & 0 deletions vendor/github.com/davecgh/go-spew/spew/bypass.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions vendor/github.com/davecgh/go-spew/spew/bypasssafe.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2ef8309

Please sign in to comment.