module
0.0.0-20220718152931-747dcb5e797d
Repository: https://github.com/benoitkugler/structgen.git
Documentation: pkg.go.dev
# README
structgen 
A simple and powerful Go to {Typescript, Dart} definitions.
Inspired by OneOfOne/structgen, but build with go/types.
Install
go get -u -v github.com/benoitkugler/structgen/...
Command Line Usage
// TODO: fix doc
➤ structgen -h
Usage of ./structgen:
-output string
ts or dart file to write to
-source string
go source file to convert
All types in source
are converted (not only structs)
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
This file create helpers functions to generate random data for tests.
Support for declaring enums in Go and generating helpers (.go, .ts, .sql) All enums must be listed in enums.go with a comment for the label to display.
Package is a utility wrapper around command line tools to format Go, Dart and TypeScript code.
Package interfaces provides a way to serialize/deserialize interface values into JSON.
No description provided by the author
No description provided by the author
No description provided by the author
This package regroups some utility functions shared by the handlers.