Skip to content

Usage as a package? #4

@mozey

Description

@mozey

To generate the TypeScript interfaces as part of a build script, it might be useful if the Convert function could be imported?

For example

import (
  "github.com/mozey/go2ts"
)
...
go2ts.Convert("type Something struct {}")

See example here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions