trie

package module
v0.0.0-...-96b5b15 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

go-trie

Documentation

Overview

Package trie implements a simple trie.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(t Trie, s string) []string

func Has

func Has(t Trie, s string) bool

Types

type Trie

type Trie struct {
	// contains filtered or unexported fields
}

func Add

func Add(t Trie, s string) Trie

func New

func New() Trie

New creates a new, empty trie.

func (Trie) String

func (t Trie) String() string

Jump to

Keyboard shortcuts

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