string validation for Go