Skip to content

[bug] It's a Bug when Zero value equals to the value I set #85

@xiaofeige

Description

@xiaofeige

Reproducible Example

config example:

var Config struct {
	AuthSettings struct {
		LwpNoAuth bool `required:"true" default:"true"`
	}
}

It doesn't work When I set LwpNoAuth to false, because you check blank in this way, see the picture below.
image

The value will always be true even if I set it to false.

Description

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions