common

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package common - common utility structs and functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTypedPtr

func GetTypedPtr[T any](org T) *T

GetTypedPtr helper function to convert from arbitrary type to a pointer of that type

func SliceToString

func SliceToString[T fmt.Stringer](org []T) []string

SliceToString converts any slice of type implementing Stringer to a string slice.

func ToString

func ToString[T fmt.Stringer](org T) string

ToString converts any type implementing Stringer to a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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