def METHOD_NAME(self) -> str:
    """
    Serialize a schema to Golang string
    :return:
    """
    template_obj = Template(default_template)
    out_str = template_obj.render(gen=self, schema=self.schemaview.schema, view=self.schemaview)
    return out_str