cmd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version string = ""
	Commit  string = ""
)

Functions

func Execute

func Execute(ctx context.Context) error

func NewMigration

func NewMigration(ctx context.Context) (*migration, error)

NewMigration creates a new instance of the migration struct. It initializes the bitbucketServer, bitbucketToken, giteaServer, and giteaToken fields with values from the viper configuration. It also initializes the bitbucket and gitea clients. Returns a pointer to the migration struct and any error encountered during initialization.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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