site

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Global() domain.Site
}

Repository defines methods for the site.

func New

func New(opts *domain.Options, s sys.System) Repository

New

Creates a new SiteRepository.

type Site

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

Site defines the data layer for Posts

func (*Site) Global

func (s *Site) Global() domain.Site

Global

Returns the domain.Site struct from the options and retrieves the latest Verbis version.

Jump to

Keyboard shortcuts

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