utils

package
v0.0.0-...-ab164db Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(data interface{}) (string, error)

Marshal marshals a struct into a string using dynamic field positions

func ResponseWriter

func ResponseWriter(w http.ResponseWriter, status int, data interface{})

func Strip

func Strip(s string) string

func Unmarshal

func Unmarshal(data string, v interface{}) error

Unmarshal unmarshals a string into a struct using dynamic field positions

Types

This section is empty.

Jump to

Keyboard shortcuts

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