kratos: Index | Files

package tag

import ""


Package Files

ext_tags.go tags.go

func GetCommentWithoutTag Uses

func GetCommentWithoutTag(comment string) []string

GetCommentWithoutTag strip tags in comment

func GetLineTag Uses

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

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

func GetMoreTags Uses

func GetMoreTags(field *descriptor.FieldDescriptorProto) *string

func GetTagValue Uses

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

func GetTagsInComment Uses

func GetTagsInComment(comment string) []reflect.StructTag

Package tag imports 5 packages (graph) and is imported by 3 packages. Updated 2019-05-16. Refresh now. Tools for package owners.