parser

package
v0.0.0-...-d7a4c19 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes

func Routes()

Types

type ASTParser

type ASTParser interface {
	AddDependencies(codes []string) error
	AddImport(importPath string, alias string)
	AddRoute(route string)
	WriteFile()
}

func NewASTParser

func NewASTParser(
	filePath string,
) ASTParser

type Router

type Router interface {
	GET(path string, handler func())
}

func NewRouter

func NewRouter() Router

Jump to

Keyboard shortcuts

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