encoding

package
v0.0.0-...-d7a782e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeResource

func DecodeResource[R model.Release](r io.Reader, format Format) (model.Resource, error)

func Encode

func Encode[T any](w io.Writer, v T, format Format) error

Types

type Format

type Format string
const (
	FormatJSON Format = "application/fhir+json"
	FormatXML  Format = "application/fhir+xml"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL