dst

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MPL-2.0, MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SpecsTrimEmptyLine

func SpecsTrimEmptyLine(specs []dst.Spec)

SpecsTrimEmptyLine removes extra line spacing from each spec.

It covers cases go/format.Source neglects, such as:

import (

// format.Source retains the empty line above
"sort"

)

Types

This section is empty.

Jump to

Keyboard shortcuts

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