examples

package
v0.12.0-gdd3da8f Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CTX = context.TODO()

Functions

func NewSqs

func NewSqs(endpoint *string) *sqs.SQS

func ReadConfig

func ReadConfig(filePath string, config *protos.Configuration) error

Types

type OrderDetails

type OrderDetails struct {
	OrderId    string
	CustomerId string
	OrderDate  time.Time
	OrderTotal float64
}

func NewOrderDetails

func NewOrderDetails(orderId, customerId string, orderTotal float64) *OrderDetails

func (*OrderDetails) String

func (o *OrderDetails) String() string

Jump to

Keyboard shortcuts

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