Skip to content

how to check if a map structure key exist #94

Open
@fastfading

Description

@fastfading

Assume map a ini to a structure.
sometimes , not all the key in the structure exist.
When the key is not exist , go-ini use default value "" or 0

how can use know the zero value is the ini file assigned or it is just the default value .
how to distinguish these 2 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions