Goland improves productivity I: Live Templates

Goland configuration method

Goland –>preference–>Editor–>Live Templates, click ➕ to configure

Configuration of the sample

The following uses gorM as an example:

gorm:"column:$FIELD_NAME$" json:"$FIELD_NAME$"

use

Enter the acronym gorm Tab to take effect

Goland Create Live Templates