package domain type NullString struct { String string Valid bool // Valid is true if String is not NULL } type NullBool struct { Bool bool Valid bool // Valid is true if Bool is not NULL }