code: func generateImports(ctx *context, w io.Writer) {
  	fmt.Fprintf(w, "import api \"%s\"\n", govppApiImportPath)
  	fmt.Fprintf(w, "import struc \"%s\"\n", "github.com/lunixbochs/struc")
  	fmt.Fprintf(w, "import bytes \"%s\"\n", "bytes")
  	fmt.Fprintln(w)
  
  	fmt.Fprintf(w, "// Reference imports to suppress errors if they are not otherwise used.\n")
  	fmt.Fprintf(w, "var _ = api.RegisterMessage\n")
  	fmt.Fprintf(w, "var _ = struc.Pack\n")
  	fmt.Fprintf(w, "var _ = bytes.NewBuffer\n")
  	fmt.Fprintln(w)
  
  	/*fmt.Fprintln(w, "// This is a compile-time assertion to ensure that this generated file")
  	fmt.Fprintln(w, "// is compatible with the GoVPP api package it is being compiled against.")
  	fmt.Fprintln(w, "// A compilation error at this line likely means your copy of the")
  	fmt.Fprintln(w, "// GoVPP api package needs to be updated.")
  	fmt.Fprintln(w, "const _ = api.GoVppAPIPackageIsVersion1 // please upgrade the GoVPP api package")
  	fmt.Fprintln(w)*/
  }
docs: // generateImports writes generated package imports into w