util

package
v0.0.0-...-f0f27be Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocalResolver

func LocalResolver(awsEndpoint, awsRegion string) aws.EndpointResolverWithOptionsFunc

LocalResolver provides resolver which takes in account provided awsEndpoint and routes requests to defined endpoint

func ToJSON

func ToJSON[T any](val T) *string

ToJSON returns json representation of the given value, or nil in case of marshalling error

Types

type JSONEr

type JSONEr interface {
	ToJSON() *string
}

JSONEr interface allows return JSON representation

Jump to

Keyboard shortcuts

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