shared

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Program = "mkunion"

Variables

This section is empty.

Functions

func Comment

func Comment(g *ast.CommentGroup) string

Comment implementation was copied from func (g *CommentGroup) Text() string and reduced return all comments lines. In contrast to original implementation that skips declaration comments like "//go:generate" which is important for inferring union types.

func JsonParseObject

func JsonParseObject(x []byte, f func(key string, value []byte) error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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