internal

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package internal provides our internal API resources.

Any functionality provided by this package should not depend on any external packages within the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToSnakeCase added in v0.0.21

func ToSnakeCase(str string) string

ToSnakeCase converts a string to snake_case https://gist.github.com/stoewer/fbe273b711e6a06315d19552dd4d33e6

Types

type Clock

type Clock interface {
	Now() time.Time
	Start() time.Time
	From(now func() time.Time) Clock
}

Clock is an interface representing the internal clock time

Directories

Path Synopsis
Package mock provides a basic mock for testing the datastore.
Package mock provides a basic mock for testing the datastore.

Jump to

Keyboard shortcuts

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