uuid

package module
v0.0.0-...-cdbaca4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

README

Koverto - UUID

Wraps github.com/google/uuid with implementations of various serialization interfaces.

Usage

import "dev.azure.com/koverto/koverto/_git/uuid/uuid.proto";

message User {
    uuid.UUID id = 1;
}

Copyright © 2020 Jesse B. Hannah. Licensed under the GNU GPL version 3 or later .

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthUuid = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUuid   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type UUID

type UUID struct {
	Uuid *_uuid `protobuf:"bytes,1,opt,name=uuid,proto3,customtype=_uuid" json:"uuid,omitempty"`
}

func New

func New() *UUID

func (*UUID) Descriptor

func (*UUID) Descriptor() ([]byte, []int)

func (*UUID) Marshal

func (m *UUID) Marshal() (dAtA []byte, err error)

func (*UUID) MarshalTo

func (m *UUID) MarshalTo(dAtA []byte) (int, error)

func (*UUID) ProtoMessage

func (*UUID) ProtoMessage()

func (*UUID) Reset

func (m *UUID) Reset()

func (*UUID) Size

func (m *UUID) Size() (n int)

func (*UUID) String

func (m *UUID) String() string

func (*UUID) Unmarshal

func (m *UUID) Unmarshal(dAtA []byte) error

func (*UUID) XXX_DiscardUnknown

func (m *UUID) XXX_DiscardUnknown()

func (*UUID) XXX_Marshal

func (m *UUID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UUID) XXX_Merge

func (m *UUID) XXX_Merge(src proto.Message)

func (*UUID) XXX_Size

func (m *UUID) XXX_Size() int

func (*UUID) XXX_Unmarshal

func (m *UUID) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL