GroupKeyInfo improvements for parent specified primary keys.

This commit is contained in:
go-jet 2019-09-27 11:34:12 +02:00
parent d0297ca16f
commit 92de03d4b3
2 changed files with 36 additions and 35 deletions

View file

@ -164,3 +164,13 @@ func ErrorCatch(err *error) {
*err = fmt.Errorf("%v", recovered)
}
}
func StringSliceContains(strings []string, contains string) bool {
for _, str := range strings {
if str == contains {
return true
}
}
return false
}