...

Package fmts

import "github.com/go-openapi/loads/fmts"
Overview
Index

Overview ▾

Index ▾

Package files

yaml.go

Variables

var (
    // YAMLMatcher matches yaml
    YAMLMatcher = swag.YAMLMatcher
    // YAMLToJSON converts YAML unmarshaled data into json compatible data
    YAMLToJSON = swag.YAMLToJSON
    // BytesToYAMLDoc converts raw bytes to a map[string]interface{}
    BytesToYAMLDoc = swag.BytesToYAMLDoc
    // YAMLDoc loads a yaml document from either http or a file and converts it to json
    YAMLDoc = swag.YAMLDoc
    // YAMLData loads a yaml document from either http or a file
    YAMLData = swag.YAMLData
)