Back to godoc.org

Package marshal

v0.0.9
Latest Go to latest
Published: Jun 24, 2020 | License: Apache-2.0 | Module: github.com/grailbio/base

Index

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