type resolveMapItem … var resolveTable … var resolveMap … func init() { … } const longTagPrefix … func shortTag(tag string) string { … } func longTag(tag string) string { … } func resolvableTag(tag string) bool { … } var yamlStyleFloat … func resolve(tag string, in string) (rtag string, out interface{ … } // encodeBase64 encodes s as base64 that is broken up into multiple lines // as appropriate for the resulting length. func encodeBase64(s string) string { … } var allowedTimestampFormats … // parseTimestamp parses s as a timestamp string and // returns the timestamp and reports whether it succeeded. // Timestamp formats are defined at http://yaml.org/type/timestamp.html func parseTimestamp(s string) (time.Time, bool) { … }