Registry /
serialization / leaanthony-typescriptify-golang-structs
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
typescriptify
✓ github.com/leaanthony/typescriptify-golang-structs
Converts a Go struct to a TypeScript interface.
package main
import (
"github.com/leaanthony/typescriptify-golang-structs"
)
type Person struct {
Name string
Age int
}
func main() {
converter := typescriptify.New()
converter.Add(Person{})
result, _ := converter.Convert()
_ = result
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.1.7latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.