generify

package
v0.0.0-...-a24bc20 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package generify holds the code to parse the ast of the given template

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generify

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

Generify holds the data used to work on the ast

func New

func New(file *ast.File, concreteTypes *concrete.Instances) *Generify

New creates a new Generify instance

func (*Generify) Do

func (g *Generify) Do(packageName string, w io.Writer) error

Do creates a concrete ast from the generic one and writes it to the given io.Writer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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