initialize

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package initialize initializes a template or a repository

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Init

type Init struct {
	ErrHandler errs.HandlerIface  `validate:"required"`
	Log        logger.OutputIface `validate:"required"`
}

Init create repositories and templates

func (*Init) CreateRepo

func (i *Init) CreateRepo(name, path string) int

CreateRepo create repository

func (*Init) CreateTemplate

func (i *Init) CreateTemplate(name, path string) int

CreateTemplate create template

type InitIface

type InitIface interface {
	// CreateRepo create repository
	CreateRepo(name, path string) int
	// CreateTemplate create template
	CreateTemplate(name, path string) int
}

InitIface ...

Jump to

Keyboard shortcuts

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