util

package
v0.0.0-...-9fc0fad Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRequest

func CreateRequest(method, target, body string) (echo.Context, *httptest.ResponseRecorder)

CreateRequest creates request for testing handlers

func Hash

func Hash(pw string) []byte

Hash hashes password string

func Trim

func Trim(s string) string

Trim is an utility function for strings.TrimSpace

Types

This section is empty.

Jump to

Keyboard shortcuts

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