Simple golang fillstruct plugin for sublime text built on reftools.
Place the cursor between the curly braces for a correct autofill. This should sync with autocomplete cursor positioning
go install github.com/davidrjenni/reftools/cmd/fillstruct@latest
git clone git@github.com:twoojoo/sublime-fillstruct.git
cp ./sublime-fillstruct/fillstruct.py ~/.config/sublime-text/Packages/User
Just add the commad to your keybindings
[
//...
{"keys": ["ctrl+alt+f"], "command": "fillstruct"},
//...
]