builder

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Index

Constants

View Source
const (
	BLANK  string = "blank"
	SAMPLE string = "sample"
)
View Source
const (
	API_SINGLE string = "api_single"
	API_LIST   string = "api_list"
	LIB_SINGLE string = "lib_single"
	LIB_LIST   string = "lib_list"
)
View Source
const (
	SVELTE   string = "svelte"
	MARKDOWN string = "markdown"
)
View Source
const (
	DEFAULTS     string = "defaults"
	EXTERNALS    string = "externals"
	WEBSITE      string = "website"
	MENU         string = "menu"
	INIT_MENU    string = "init_menu"
	DOTENV       string = "dotenv"
	README       string = "readme"
	LICENSE      string = "license"
	THEME_CONFIG string = "theme_config"
)
View Source
const (
	API   string = "api"
	INDEX string = "index"
	SLUG  string = "slug"
	LIB   string = "lib"
)

Variables

This section is empty.

Functions

func GetContentBuilder

func GetContentBuilder(contentType string) iFileContentBuilder

func NewDirector

func NewDirector(b iFileContentBuilder) *director

func NewMenuContentBuilder

func NewMenuContentBuilder() *menuContentBuilder

func NewMetadataContentBuilder

func NewMetadataContentBuilder() *metadataContentBuilder

func NewNoPageContentBuilder

func NewNoPageContentBuilder() *nopContentBuilder

func NewPageContentBuilder

func NewPageContentBuilder() *publicPageContentBuilder

func NewProjectBuilder

func NewProjectBuilder() *projectBuilder

func NewResContentBuilder

func NewResContentBuilder() *resContentBuilder

func NewResourceContentBuilder

func NewResourceContentBuilder() *resourceContentBuilder

func NewThemeContentBuilder

func NewThemeContentBuilder() *themeContentBuilder

Types

type Content

type Content struct {
	ContentType       string
	EmbeddedResources map[string]string
	PathToTplFile     string
	TemplateId        string
	TemplateData      *config.TemplateData
	Funcs             template.FuncMap
}

Jump to

Keyboard shortcuts

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