heuristics

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package heuristics provides guessing on text value representation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ZeroGuesses

func ZeroGuesses(ps [][2]string, zeroes []string) []string

ZeroGuesses guess zero value for every type, which is the 2nd element of an array, based on its name. It is also given precomputed zeroes slice where some elements may already be computed using more reliable methods. These should not be replaced.

Return nil slice only if kind "unclear" detected on any type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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