module

package
v0.0.0-...-067c60b Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() pgs.Module

func Retag

func Retag(n ast.Node, tags StructTags) error

Retag updates the existing tags with the map passed and modifies existing tags if any of the keys are matched. First key to the tags argument is the name of the struct, the second key corresponds to field names.

Types

type StructTags

type StructTags map[string]map[string]*structtag.Tags

func (StructTags) AddTagsToXXXFields

func (s StructTags) AddTagsToXXXFields(tags *structtag.Tags)

Jump to

Keyboard shortcuts

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