Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Expanding the scope of the builder field function #63

Description

@jakoguta

The function Field(name string, value float64) in the builders take a value as a float64. This makes the function not support strings, boolean and JSON. However, when building the command, the float64 is converts to a string using floatString(val float64) string. Should it then just take a string as a value like so Field(name string, value string) thus allowing for support of the missing types?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions