temp commit

This commit is contained in:
magicsong
2019-08-14 20:45:43 +08:00
parent 90fa38851f
commit 7314064e83
635 changed files with 116500 additions and 494 deletions

View File

@@ -0,0 +1,13 @@
[![Build Status](https://semaphoreci.com/api/v1/calico/go-yaml-wrapper/branches/calico/badge.svg)](https://semaphoreci.com/calico/go-yaml-wrapper)
# YAML marshaling and unmarshaling support for Go
This is a fork of `github.com/ghodss/yaml` to provide modified YAML and JSON
parsing for use with libcalico-go and calicoctl. The modifications include:
- Swapping support of Float32 with Float64 (since calico does not use Float32)
- Providing the ability to perform strict unmarshaling (i.e. erroring if a
field in the document was not in the struct)
- Slightly modified error messages to be less go-lang oriented and more
user facing.
- Indication of field names or values