mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Unexport FieldOptions.Encode
This commit is contained in:
parent
5d7cb33322
commit
3ff6851881
1 changed files with 3 additions and 3 deletions
6
field.go
6
field.go
|
|
@ -337,7 +337,7 @@ func (f *Field) loadMeta() error {
|
|||
func (f *Field) saveMeta() error {
|
||||
// Marshal metadata.
|
||||
fo := f.options
|
||||
buf, err := proto.Marshal(fo.Encode())
|
||||
buf, err := proto.Marshal(fo.encode())
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "marshaling")
|
||||
}
|
||||
|
|
@ -1135,8 +1135,8 @@ func applyDefaultOptions(o FieldOptions) FieldOptions {
|
|||
return o
|
||||
}
|
||||
|
||||
// Encode converts o into its internal representation.
|
||||
func (o *FieldOptions) Encode() *internal.FieldOptions {
|
||||
// encode converts o into its internal representation.
|
||||
func (o *FieldOptions) encode() *internal.FieldOptions {
|
||||
return encodeFieldOptions(o)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue