gograph

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultGraphStore

func DefaultGraphStore(opts ...Option) (core.GraphStore, error)

DefaultGraphStore creates a new gograph store with default options.

func NewGraphStore

func NewGraphStore(path string) (core.GraphStore, error)

NewGraphStore creates a new gograph store with the specified path.

Types

type Option

type Option func(*Options)

Option is a function that configures Options.

func WithPath

func WithPath(path string) Option

WithPath returns an Option that sets the database path.

type Options

type Options struct {
	Path string
}

Options contains configuration options for the gograph store.

Jump to

Keyboard shortcuts

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