utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CopyFile = copyFile
View Source
var EvaluateExpression = evaluateExpression
View Source
var ExecuteCommand = executeCommand
View Source
var ParseTemplate = parseTemplate

Functions

func DeepCopy

func DeepCopy[T any](input T) (T, error)

Types

type DefaultClient

type DefaultClient struct {
	Client *http.Client
}

func (*DefaultClient) Do

func (c *DefaultClient) Do(req *http.Request) (*http.Response, error)

type HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

func NewHTTPClient

func NewHTTPClient() HTTPClient

Jump to

Keyboard shortcuts

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