Skip to content
Golang Postfix Code Completion Extension for Visual Studio Code
Branch: master
Clone or download
Pull request Compare This branch is 57 commits ahead, 12 commits behind ipatalas:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
images
src
test
.bithoundrc
.gitignore
.travis.yml
.vscodeignore
CHANGELOG.md
LICENSE
README.md
coverconfig.json
package-lock.json
package.json
tasks.js
tsconfig.json
tslint.json
yarn.lock

README.md

Postfix templates for Golang

Version Installs

Forked from vscode-postfix-ts

feature X

Under development. Any suggestions are welcomed.

Templates

All available templates (expr means the expression on which the template is applied):

Template Outcome
.if if expr
.else if !expr
.nil if expr == nil
.notnil if expr != nil
.forr for index := range expr
.for for index, element := range expr
.return return expr
.var name := expr
.const const name type = expr
.append expr = append(expr, element)
.len len(expr)
.print fmt.Println(expr)
.printf fmt.Printf("%+v\n", expr)
.error errors.New("expr")
.struct type expr struct
.interface type expr interface
.switch switch expr

Author

Sota Yokoe (twitter)

Contributors

Hamza Anis

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.