Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gvar empty error #3362

@edifierx666

Description

@edifierx666

What version of Go and system type/arch are you using?

go version go1.22.1 darwin/arm64

What version of GoFrame are you using?

v2.6.4

Can this bug be re-produced with the latest release?
yes

What did you do?

import   "github.com/golang-jwt/jwt/v5"

func TestA2(t *testing.T) {
  gvar.New(
    &jwt.RegisteredClaims{},
  ).Map(
    gvar.MapOption{
      OmitEmpty: true,
    },
  )
}

What did you expect to see?

What did you see instead?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt is confirmed a bug, but don't worry, we'll handle it.doneThis issue is done, which may be release in next version.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions