Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Marshal / Unmarshal - time.Time to timestamppb #694

Open
@go-aegian

Description

when marshalling a time.Time with either timezone info 2024年03月31日T15:09:16.822301-04:00 or without it as Z 2024年03月31日T20:09:00.034949Z

the unmarshall throws this error "... readObjectStart: expect { or n, but found ", error found in #10 byte of ..."

How can I resolve this without having to create a custom type for time.Time?

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

        AltStyle によって変換されたページ (->オリジナル) /