strings

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package strings implements the functions, types, and interfaces for the module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func To

func To[T any](s string, def ...T) T

To converts string to specified type with default value support. Supported types: all basic types (int/uint variants, float, bool, string) Parameters:

  • s: input string
  • def: optional default value (returns first default value if conversion fails)

Types

This section is empty.

Jump to

Keyboard shortcuts

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