modworks

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSplitModules

func CreateSplitModules(log *zap.Logger, fc filecache.FileCache, sp *config.Splits) error

CreateSplitModules iterates over the configures splits and initialise a Go module in each split's working directory.

The prequisites on the fields of a config.Splits object for CreateSplitModules to be able to operate are:

  • NonModuleSource is set to true if relevant.
  • For each config.Split in Splits the Name, SplitDeps fields are populated.
  • For each config.Split in Splits the WorkDir field is populated and corrresponds to an existing directory.
  • For each config.Split in Splits the Repo field is populated and corrresponds to an existing repository.

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