gojson - Automatically generate Go (golang) struct definitions from example JSON

  •        38

gojson generates go struct definitions from json or yaml documents.Assuming $GOPATH/bin is in your PATH, you can now invoke gojson directly.

https://github.com/ChimeraCoder/gojson

Tags
Implementation
License
Platform

   




Related Projects

Cobra - A Commander for modern Go CLI interactions

  •    Go

Cobra is both a library for creating powerful modern CLI applications as well as a program to generate applications and command files. Cobra is a library providing a simple interface to create powerful modern CLI interfaces similar to git & go tools.

asciigraph - Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies

  •    Go

Go package to make lightweight ASCII line graphs ╭┈╯. This package also brings a small utility for command line usage. Assuming $GOPATH/bin is in your $PATH, simply go get it then install CLI.

pie - 🍕 Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance

  •    Go

Enjoy a slice! pie is a code generator for dealing with slices that focuses on type safety, performance and immutability. Run go generate. This will create a file called cars_pie.go. You should commit this with the rest of your code. Run go generate any time you need to add more types.

diagram - CLI app to convert ascii arts into hand drawn diagrams.

  •    Go

Diagram is a CLI tool to generate hand drawn diagrams from ASCII arts. It's a full featured CLI application which converts the ASCII text into hand drawn diagrams. The CLI part is based on gocui and the ascii to png conversion is done using the gg library.

cli - A Go library for implementing command-line interfaces.

  •    Go

cli is a library for implementing powerful command-line interfaces in Go. cli is the library that powers the CLI for Packer, Serf, Consul, Vault, Terraform, and Nomad.Easy sub-command based CLIs: cli foo, cli bar, etc.


spinner - Go (golang) package for providing a terminal spinner/progress indicator with options.

  •    Go

spinner is a simple package to add a spinner / progress indicator to any terminal application. Examples can be found below as well as full examples in the examples directory.For more detail about the library and its features, reference your local godoc once installed.

realize - Go build system with file watcher, live reload and output streams

  •    Go

Automate the most recurring operations needed for development, define what you need only one time, integrate additional tools of third party, define custom cli commands and reload projects at each file change without stop to write code.Various operations can be programmed for each project, which can be executed at startup, at stop, and at each file change.

wuzz - Interactive cli tool for HTTP inspection

  •    Go

Wuzz command line arguments are similar to cURL's arguments, so it can be used to inspect/modify requests copied from the browser's network inspector with the "copy as cURL" feature.Note: golang >= 1.7 required.

xo - xo is a cli tool to generate Golang types and funcs from a database schema.

  •    Go

xo is a cli tool to generate Golang types and funcs based on a database schema or a custom query. xo is designed to vastly reduce the overhead/redundancy of writing (from scratch) Go types and funcs for common database tasks.

cli - A simple, fast, and fun package for building command line apps in Go

  •    Go

Notice: This is the library formerly known as github.com/codegangsta/cli -- Github will automatically redirect requests to this repository, but we recommend updating your references for clarity.cli is a simple, fast, and fun package for building command line apps in Go. The goal is to enable developers to write fast and distributable command line applications in an expressive way.

proteus - Generate .proto files from Go source code.

  •    Go

Proteus /proʊtiəs/ is a tool to generate protocol buffers version 3 compatible .proto files from your Go structs, types and functions. The motivation behind this library is to use Go as a source of truth for your models instead of the other way around and then generating Go code from a .proto file, which does not generate idiomatic code.

SQLBoiler - Generate a Go ORM tailored to your database schema.

  •    Go

SQLBoiler is a tool to generate a Go ORM tailored to your database schema.It is a "database-first" ORM as opposed to "code-first" (like gorm/gorp). That means you must first create your database schema. Please use something like goose, sql-migrate or some other migration tool to manage this part of the database's life-cycle.

boilr - :zap: boilerplate template manager that generates files or directories from template repositories

  •    Go

Are you doing the same steps over and over again every time you start a new programming project? Boilr is here to help you create projects from boilerplate templates.For more details, see Introduction page.

fzf - A command-line fuzzy finder

  •    Go

fzf is a general-purpose command-line fuzzy finder.It's an interactive Unix filter for command-line that can be used with any list; files, command history, processes, hostnames, bookmarks, git commits, etc.

buckler - Go library and CLI for making Shields-style badges (PNG)

  •    Go

Buckler is Shields as a Service (ShaaS, or alternatively, Badges as a Service) for use in GitHub READMEs, or anywhere else. Use buckler with your favorite continuous integration tool, performance monitoring service API, or ridiculous in-joke to surface information. Buckler is available hosted at b.repl.ca. You may use the API to generate shields at runtime, pregenerate them and host them on your own service, or run your own copy of Buckler to protect important company secrets.

hn - A hackernews ncurses CLI written in GO

  •    Go

A Hacker News ncurses CLI reader written in Go. Currently known to work on Linux, and a few people have gotten it to work on OSX.Right now it's able to view articles, view comments, and open a page in your default browser, all done directly from the site using goquery (jquery-like library for Go), goncurses, and xdg-open for opening pages.

go-funk - A modern Go utility library which provides helpers (map, find, contains, filter, ...)

  •    Go

go-funk is a modern Go library based on reflect.Generic helpers rely on reflect, be careful this code runs exclusively on runtime so you must have a good test suite.

coop - Cheat sheet for some of the common concurrent flows in Go

  •    Go

Note: This package became obsolete. I started it when I was learning Go a couple of years ago. I see so many better ways to implement them all now, so don't keep using this package as an ultimate reference.coop contains some of the most common concurrent program flows I personally use in Go. I'm suggesting you to use this package as a snippets reference/cheat sheet instead of a library. The functionally provided in this package can be obtained in many different ways, and frankly with more performant implementations depending on the type of your problem.

xlsx - Google Go (golang) library for reading and writing XLSX files

  •    Go

xlsx is a library to simplify reading and writing the XML format used by recent version of Microsoft Excel in Go programs.The full API docs can be viewed using go’s built in documentation tool, or online at godoc.org.

hystrix-go - Netflix's Hystrix latency and fault tolerance library, for Go

  •    Go

Hystrix is a great project from Netflix.Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.





We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.