Back to

Package tag

Latest Go to latest

The latest major version is .

Published: Jan 20, 2020 | License: MIT | Module:


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
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier