Struct: eventstream.UUIDValue

import "../ibm-cos-sdk-go-v2/aws/protocol/eventstream"

Overview

Get returns the underlying value.

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream, eventstream.Value

Method Summary collapse

Method Details

func (v UUIDValue) Get() interface{}



480
481
482
// File 'aws/protocol/eventstream/header_value.go', line 480

func (v UUIDValue) Get() interface{} { return v[:] }

func (v UUIDValue) String() string



489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
// File 'aws/protocol/eventstream/header_value.go', line 489

func (v UUIDValue) String() string { var scratch [36]byte const dash = '-' hex.Encode(scratch[:8], v[0:4]) scratch[8] = dash hex.Encode(scratch[9:13], v[4:6]) scratch[13] = dash hex.Encode(scratch[14:18], v[6:8]) scratch[18] = dash hex.Encode(scratch[19:23], v[8:10]) scratch[23] = dash hex.Encode(scratch[24:], v[10:]) return string(scratch[:]) }