Skip to content

meain/vim-jsontogo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

JsonToGo

Converts json to golang structs.

screencast

Installation

Install gojson dependency by doing

go get github.com/ChimeraCoder/gojson/gojson

Now add the plugin to vim

I use vim-plug and in that you can add using

Plug 'meain/vim-jsontogo'

and run :PlugInstall

Usage

Use :JsonToGo by calling it in normal mode if your whole file is just the json.

Or select the portion of the file which contions the json and call :JsonToGo on that visual block

About

Vim plugin to convert from json to go struct

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published