value

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package value provides functionalities to convert a generic value to string.

Index

Constants

View Source
const ErrUnsupportedDataType err = "unsupported data type"

ErrUnsupportedDataType represents that the data type is not supported.

Variables

This section is empty.

Functions

func GetBody

func GetBody(r *http.Request) ([]byte, error)

GetBody returns request body and lets it re-readable.

func String

func String(v interface{}) string

String returns the string value of the given object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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