roadBuillder

package
v4.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatEndpoint

func FormatEndpoint(endpoint string) string

Types

type RoadBuilder

type RoadBuilder[T any] struct {
	// contains filtered or unexported fields
}

func NewRoadBuilder

func NewRoadBuilder[T any]() *RoadBuilder[T]

func (RoadBuilder[T]) Get

func (r RoadBuilder[T]) Get(road string) (*T, error)

func (*RoadBuilder[T]) Put

func (r *RoadBuilder[T]) Put(road string, data *T) error

type RoadModel

type RoadModel[T any] struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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