utils

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ParamPrefix = "{"
	ParamSuffix = "}"
)

Variables

This section is empty.

Functions

func IsApplicationJSONMediaType

func IsApplicationJSONMediaType(mediaType string) bool

IsApplicationJSONMediaType will return true if mediaType is in the format of application/*json (application/json, application/hal+json...)

func IsNil

func IsNil(a interface{}) bool

func IsPathParam

func IsPathParam(segment string) bool

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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