-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/fields: adds func for validating struct
For the datastore client, we need an efficient way to validate that a slice of structs field has no field (direct fields or fields of fields) which is itself also a slice. This feature should be helpful elsewhere too. Change-Id: I32c16989afe22c06d6a8f11b30c66dbf4638f90f Reviewed-on: https://code-review.googlesource.com/9772 Reviewed-by: Jonathan Amsterdam <jba@google.com>
- Loading branch information
Sarah Adams
committed
Dec 8, 2016
1 parent
c9f70e2
commit 5bfd313
Showing
3 changed files
with
76 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters