YAML-to-Go

Convert YAML to Go struct

This tool instantly converts YAML into a Go type definition. Paste a YAML structure on the left and the equivalent Go type will be generated to the right, which you can paste into your program. The script has to make some assumptions, so double-check the output!

For an example, try converting YAML from the .gitlab-ci.yml or the GCP Node.js startup script sample.

© 2019 ZhwtView on GitHub

YAML Go Copy to clipboard