horoscope

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module added in v0.2.2

func Module(horoscopeRepository Repository) *module

Module is a function that creates an instance of the `module` struct.

func NewRepository

func NewRepository() *repository

Types

type Repository

type Repository interface {
	LookupBySlug(slug string) (string, error)
	CreateLink(slug string, destinationUrl string) error
}

Jump to

Keyboard shortcuts

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