Thanks to visit codestin.com
Credit goes to pkg.go.dev

encoder

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder struct {
	// contains filtered or unexported fields
}

Encoder defines a path and query param encoder that plays nicely with the Massive REST API.

func New

func New() *Encoder

New returns a new path and query param encoder.

func (*Encoder) EncodeParams

func (e *Encoder) EncodeParams(path string, params any) (string, error)

EncodeParams encodes path and query params and returns a valid request URI.

Jump to

Keyboard shortcuts

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