package utils

import "github.com/awslabs/goformation/v4/cloudformation/utils"

Index

Types

type ByJSONLength

type ByJSONLength []interface{}

ByJSONLength implements the sort interface and enables sorting by JSON length

func (ByJSONLength) Len

func (s ByJSONLength) Len() int

func (ByJSONLength) Less

func (s ByJSONLength) Less(i, j int) bool

func (ByJSONLength) Swap

func (s ByJSONLength) Swap(i, j int)

Source Files

utils.go

Version
v4.19.5 (latest)
Published
Jun 10, 2021
Platform
linux/amd64
Imports
1 packages
Last checked
2 months ago

Tools for package owners.