github.com/pborman/uuid v1.2.0

This commit is contained in:
Jordan Liggitt
2019-04-05 11:51:23 -04:00
parent 319ff2fd31
commit e2e1f497d0
70 changed files with 437 additions and 393 deletions

View File

@@ -15,8 +15,6 @@ func (uuid UUID) MarshalText() ([]byte, error) {
// UnmarshalText implements encoding.TextUnmarshaler.
func (uuid *UUID) UnmarshalText(data []byte) error {
// See comment in ParseBytes why we do this.
// id, err := ParseBytes(data)
id, err := ParseBytes(data)
if err == nil {
*uuid = id