Skip to content

maxvhas/structify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

structify

Transform JSON to Go structs

Emacs Config

(defun go-json-structify (beg end)
  "Transform JSON in the selected region to Go Structs."
  (interactive "*r")
  (if (region-active-p)
      (shell-command-on-region beg end "structify" (current-buffer) t)
    (message "No active region")))

(local-set-key (kbd "C-x C-j") 'go-json-structify) ; Structify json in region

About

Transform JSON to Go structs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages