tag

package
v0.2.23 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommentWithoutTag

func GetCommentWithoutTag(comment string) []string

GetCommentWithoutTag strip tags in comment

func GetLineTag

func GetLineTag(line string) (tag reflect.StructTag, start int, end int)

find tag between backtick, start & end is the position of backtick

func GetMoreTags

func GetMoreTags(field *descriptor.FieldDescriptorProto) *string

func GetTagValue

func GetTagValue(key string, tags []reflect.StructTag) string

func GetTagsInComment

func GetTagsInComment(comment string) []reflect.StructTag

Types

This section is empty.

Jump to

Keyboard shortcuts

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