placeholderpath

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Placeholder = "{{path}}" // Placeholder - плейсхолдер в пути по умолчанию
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

Builder - comment struct.

func New

func New(basePath, placeholder string) (*Builder, error)

New - создаёт объект Builder. sample: /dir/{{path}}/postfix -> /dir/real-value/postfix

func (*Builder) BuildPath

func (p *Builder) BuildPath(path string) string

BuildPath - comment method.

Jump to

Keyboard shortcuts

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