{"modulePath":"github.com/acoderup/goctl","version":"v1.1.7","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package tsgen\n\n## Variables\n\n```go\nvar (\n\t// VarStringDir describes a directory.\n\tVarStringDir string\n\t// VarStringAPI describes an API file.\n\tVarStringAPI string\n\t// VarStringWebAPI describes a web API file.\n\tVarStringWebAPI string\n\t// VarStringCaller describes a caller.\n\tVarStringCaller string\n\t// VarBoolUnWrap describes whether wrap or not.\n\tVarBoolUnWrap bool\n)\n```\n\n## Functions\n\n```go\nfunc BuildTypes(types []spec.Type) (string, error)\n```\nBuildTypes generates the typescript code for the types.\n\n```go\nfunc TsCommand(_ *cobra.Command, _ []string) error\n```\nTsCommand provides the entry to generate typescript codes\n\n","path":"github.com/acoderup/goctl/api/tsgen","name":"tsgen","synopsis":"","isRedistributable":true}
