GroupKeyInfo improvements for parent specified primary keys.
This commit is contained in:
parent
d0297ca16f
commit
92de03d4b3
2 changed files with 36 additions and 35 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue