Skip to content

fail to build # github.com/go-json-experiment/json #924

Open
@PhracturedBlue

Description

@PhracturedBlue

When trying to build go-json-experiment/json, I get an error:

# github.com/go-json-experiment/json                                                                                                                          
IuxlaZvuzqM.go:8: unknown field pbs6TV9wghYE in struct literal of type PKGMB0A                                                                                
zBJu2p.go:9: unknown field pbs6TV9wghYE in struct literal of type PKGMB0A                                                                                     
sLSdey.go:6: unknown field rG6shOjqY in struct literal of type FqxD7Z9Mz
MV08EKSa.go:9: unknown field rG6shOjqY in struct literal of type FqxD7Z9Mz                                                                                    
exit status 2            
exit status 1                                                                                                                                                 

This can be easily reproduced with one of the examples like:
https://pkg.go.dev/github.com/go-json-experiment/json#example-package-FieldNames

Unfortunately this is embedded with another library I use, so I don't have the ability to use an alternate json library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions