Skip to content

Commit acf6008

Browse files
committed
Change accessor level of predefined CHASM search attribute constructor
1 parent fd7f41d commit acf6008

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

chasm/search_attribute.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func NewSearchAttributeBool(alias string, boolField SearchAttributeFieldBool) *S
184184
}
185185
}
186186

187-
func NewSearchAttributeBoolByField(field string) *SearchAttributeBool {
187+
func newSearchAttributeBoolByField(field string) *SearchAttributeBool {
188188
return &SearchAttributeBool{
189189
searchAttributeDefinition: searchAttributeDefinition{
190190
alias: field,
@@ -211,7 +211,7 @@ func NewSearchAttributeDateTime(alias string, datetimeField SearchAttributeField
211211
}
212212
}
213213

214-
func NewSearchAttributeDateTimeByField(field string) *SearchAttributeDateTime {
214+
func newSearchAttributeDateTimeByField(field string) *SearchAttributeDateTime {
215215
return &SearchAttributeDateTime{
216216
searchAttributeDefinition: searchAttributeDefinition{
217217
alias: field,
@@ -238,7 +238,7 @@ func NewSearchAttributeInt(alias string, intField SearchAttributeFieldInt) *Sear
238238
}
239239
}
240240

241-
func NewSearchAttributeIntByField(field string) *SearchAttributeInt {
241+
func newSearchAttributeIntByField(field string) *SearchAttributeInt {
242242
return &SearchAttributeInt{
243243
searchAttributeDefinition: searchAttributeDefinition{
244244
alias: field,
@@ -265,7 +265,7 @@ func NewSearchAttributeDouble(alias string, doubleField SearchAttributeFieldDoub
265265
}
266266
}
267267

268-
func NewSearchAttributeDoubleByField(field string) *SearchAttributeDouble {
268+
func newSearchAttributeDoubleByField(field string) *SearchAttributeDouble {
269269
return &SearchAttributeDouble{
270270
searchAttributeDefinition: searchAttributeDefinition{
271271
alias: field,
@@ -292,7 +292,7 @@ func NewSearchAttributeKeyword(alias string, keywordField SearchAttributeFieldKe
292292
}
293293
}
294294

295-
func NewSearchAttributeKeywordByField(field string) *SearchAttributeKeyword {
295+
func newSearchAttributeKeywordByField(field string) *SearchAttributeKeyword {
296296
return &SearchAttributeKeyword{
297297
searchAttributeDefinition: searchAttributeDefinition{
298298
alias: field,
@@ -319,7 +319,7 @@ func NewSearchAttributeKeywordList(alias string, keywordListField SearchAttribut
319319
}
320320
}
321321

322-
func NewSearchAttributeKeywordListByField(field string) *SearchAttributeKeywordList {
322+
func newSearchAttributeKeywordListByField(field string) *SearchAttributeKeywordList {
323323
return &SearchAttributeKeywordList{
324324
searchAttributeDefinition: searchAttributeDefinition{
325325
alias: field,

0 commit comments

Comments
 (0)