You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: rewritejsontag_test.go
    path of file: ./repos/go-doudou/toolkit/astutils
    
    the code of the file until where you have to start completion: package astutils

import (
	"fmt"
	"github.com/iancoleman/strcase"
	"github.com/unionj-cloud/go-doudou/v2/toolkit/pathutils"
	"testing"
)

func ExampleRewriteTag() {
	file := pathutils.Abs("te
    
func ExampleRewriteTagForm() {
	file := pathutils.Abs("testdata/rewritejsontag.go")
	config := RewriteTagConfig{
		File:        file,
		Omitempty:   true,
		ConvertFunc: strcase.ToLowerCamel,
		Form:        true,
	}
	result, err := RewriteTag(config)
	if err != nil {
		panic(err)
	}
	fmt.Println(result)
	// Output:
	//package main
	//
	//type base struct {
	//	Index string `json:"index,omitempty" form:"index,omitempty"`
	//	Type  string `json:"type,omitempty" form:"type,omitempty"`
	//}
	//
	//type struct1 struct {
	//	base
	//	Name       string `json:"name,omitempty" form:"name,omitempty"`
	//	StructType int    `json:"structType,omitempty" dd:"awesomtag" form:"structType,omitempty"`
	//	Format     string `dd:"anothertag" json:"format,omitempty" form:"format,omitempty"`
	//	Pos        int    `json:"pos,omitempty" form:"pos,omitempty"`
	//}
}