funktion

package module
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2025 License: MIT Imports: 9 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

funktion

Go Reference Go Report Card

Core utility functions and common patterns for Go applications

Installation

go get github.com/ternarybob/funktion@latest

Usage

import "github.com/ternarybob/funktion"

// Your code here

Features

Examples

Documentation

Full documentation is available at pkg.go.dev.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

This library is part of the T3B ecosystem:

  • funktion - Core utility functions
  • satus - Configuration and status management
  • arbor - Structured logging system
  • omnis - Web framework integrations

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayContains

func ArrayContains(list []string, contains string) bool

func GetCollectionName

func GetCollectionName(v interface{}) string

func GetElementName

func GetElementName(v interface{}) string

func GetEntityName

func GetEntityName(v interface{}) string

func GetTypeName

func GetTypeName(typ reflect.Type) string

func IsBlank

func IsBlank(a string) bool

func IsEmail

func IsEmail(e string) bool

func IsEmpty

func IsEmpty(input string) bool

func IsSlice

func IsSlice(v interface{}) bool

func IsStruct

func IsStruct(i interface{}) bool

func IsValidDomain

func IsValidDomain(domain string) bool

func IsValidEmail

func IsValidEmail(email string, domains []string) bool

func SliceContains

func SliceContains(in []string, this []string) bool

func SplitLines

func SplitLines(s string) []string

func ToJson

func ToJson(input interface{}) (string, error)

func ToJsonFlat

func ToJsonFlat(input interface{}) (string, error)

func ToSlice

func ToSlice(slice interface{}) []interface{}

func TruncatePrint

func TruncatePrint(input string, length int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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