Back to

Package marshal

Latest Go to latest
Published: Jun 24, 2020 | License: Apache-2.0 | Module:


Package Files

func Marshal

func Marshal(typ string, fieldPairs []interface{}) (string, error)

marshal marshal event information into a JSON string. Field keys must be unique, otherwise marshal returns an error.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier