fmtx

package
v0.0.0-...-1c9d968 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(s *sequencer, weight int64, f func(*reporter) error)

func FormatGoCode

func FormatGoCode(code string) (string, error)

func FormatGoCodeOrDefault

func FormatGoCodeOrDefault(code string, defaultValue string) string

Types

type StringWriter

type StringWriter struct {
	// contains filtered or unexported fields
}

func (*StringWriter) Write

func (s *StringWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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