github.com/unionj-cloud/go-doudou/v2@v2.3.5/toolkit/astutils/testdata/rewritejsontag.go (about)

     1  package main
     2  
     3  type base struct {
     4  	Index string
     5  	Type  string
     6  }
     7  
     8  type struct1 struct {
     9  	base
    10  	Name       string `json:"good"`
    11  	StructType int    `json:"struct_type" dd:"awesomtag"`
    12  	Format     string `dd:"anothertag"`
    13  	Pos        int
    14  }