Skip to content
View PlutoWu-Cn's full-sized avatar
πŸ‘¨β€πŸ’»
Coding
πŸ‘¨β€πŸ’»
Coding

Block or report PlutoWu-Cn

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
PlutoWu-Cn/README.md

Hi there πŸ‘‹

type resume struct {
	Name        string `info:"name" doc:"PlutoWu"`
	Sex         string `info:"sex"  doc:"Male"`
	Role        string `info:"role" doc:"SoftwareEngineer"`
	ChineseName string `info:"chineseName"  doc:"Shiyuan Wu"`
}

func findTag(str interface{}) {
	t := reflect.TypeOf(str).Elem()

	for i := 0; i < t.NumField(); i   {
		taginfo := t.Field(i).Tag.Get("info")
		tagdoc := t.Field(i).Tag.Get("doc")
		fmt.Println("info:", taginfo, "doc:", tagdoc)
	}
}

func main() {
	var re resume

	findTag(&re)
}

πŸ”§ Technologies & Tools

πŸ“ˆ GitHub Stats

PlutoWu's GitHub stats Top Langs

Pinned Loading

  1. pRPC pRPC Public

    Custom RPC framework based Netty Zookeeper

    Java 2

  2. Online-Exam Online-Exam Public

    Online examination system based on Spring Cloud Vue

    Java 1

  3. pSeckill pSeckill Public

    Implementation of simple Seckill System

    Java 1

  4. marmot-kv marmot-kv Public

    Go-based key-value database

    Go