Open Firstnsnd opened 11 months ago
My code is as follows:
param := artifact.NewGetAdditionParams(). WithContext(ctx). WithProjectName(imageSpaceName). WithRepositoryName(imageName). WithReference(reference). WithAddition("build_history") replyAddition, err := client.V2().Artifact.GetAddition(ctx, param)
this code will return an error: json: cannot unmarshal array into Go value of type string
json: cannot unmarshal array into Go value of type string
github.com/goharbor/go-client v0.26.2
did you resovel the problem
did you resovel the proble
I define a struct include this go-client,and implement a method to get artifacts addation
My code is as follows:
this code will return an error:
json: cannot unmarshal array into Go value of type string
github.com/goharbor/go-client v0.26.2