go-structtag Questions

2

I have been using Go Validator.v2 for field validations and it works elegantly for my non-struct typed fields. However, when it comes to handling struct-based fields (within the original struct), t...
Schreiber asked 20/10, 2020 at 9:2

1

Solved

The following code unmarshal's the "Id", but not the "Hostname". Why? I've been staring at it for long enough now that if it's a typo I know I'll never spot it. Help please. (http://play.golang.org...
Elasticize asked 15/4, 2013 at 17:45
1

© 2022 - 2024 — McMap. All rights reserved.