rewrite

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package rewrite provides a tool that automatically rewrites legacy imports to absolute ones

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Rewrite

func Rewrite(dir, vendorDir string, packages map[string]deps.Dependency) error

Rewrite changes all imports in `dir` from legacy to absolute style All files in `vendorDir` are ignored

Types

This section is empty.

Jump to

Keyboard shortcuts

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