migrate

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2016 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

package migrate transforms a repository from a given vendor schema to the vendor folder schema.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(from From, root string) error

Migrate from the given system using the given root.

func MigrateWD

func MigrateWD(from From) error

Migrate from the given system using the current working directory.

func SystemList

func SystemList() []string

SystemList list available migration systems.

Types

type ErrNoSuchSystem

type ErrNoSuchSystem struct {
	NotExist string
	Has      []string
}

func (ErrNoSuchSystem) Error

func (err ErrNoSuchSystem) Error() string

type From

type From string

From is the current vendor schema.

Jump to

Keyboard shortcuts

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