Back to

Package imports

Latest Go to latest

The latest major version is .

Published: 1 day ago | License: MIT | Module:


func Prune

func Prune(filename string, src []byte, packages *code.Packages) ([]byte, error)

Prune removes any unused imports

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier