type

ID

type ID string

ID is a normalized Payload document ID. JSON strings are preserved exactly; integer JSON numbers are converted to their exact base-10 spelling so Payload's numeric, UUID, and custom IDs share Ridu's canonical string wire representation without passing through float64.

Source migration/payload/payload.go:35

Methods

  • ID.MarshalJSON()

    Public method ID.MarshalJSON from github.com/riducms/ridu/migration/payload.

  • ID.String()

    Public method ID.String from github.com/riducms/ridu/migration/payload.

  • ID.UnmarshalJSON()

    Public method ID.UnmarshalJSON from github.com/riducms/ridu/migration/payload.