dto

package
v0.0.0-...-d46a54d Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegExpToSlice

func RegExpToSlice(regexps []*regexp.Regexp) []string

RegExpToSlice converts slice of regexps to slice of strings

func SliceToRegexp

func SliceToRegexp(regexps []string) ([]*regexp.Regexp, error)

SliceToRegexp converts slice of strings to slice of regexps

Types

type APIResponse

type APIResponse struct {
	Data    interface{} `json:"data"`
	Success bool        `json:"success"`
}

APIResponse is common response structure for all responses

Jump to

Keyboard shortcuts

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