writer

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KotlinConfig

func KotlinConfig() generator.Config

func NewImports added in v2.2.0

func NewImports() *imports

Types

type Writer added in v2.2.0

type Writer struct {
	generator.Writer

	Imports *imports
	// contains filtered or unexported fields
}

func New added in v2.1.2134

func New(thePackage packages.Package, className string) *Writer

func (*Writer) Indented added in v2.2.0

func (w *Writer) Indented() *Writer

func (*Writer) IndentedWith added in v2.2.0

func (w *Writer) IndentedWith(size int) *Writer

func (*Writer) ToCodeFile added in v2.2.0

func (w *Writer) ToCodeFile() *generator.CodeFile

Jump to

Keyboard shortcuts

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