go-add-tags

Add field tags for struct fields



Documentation

go-add-tags.el

Add field tags for struct fields. This package is inspired by GoAddTags of vim-go.

Interfaces

go-add-tags

Insert tag at current line. If region is enabled, then tags are inserted in lines in region. And current-prefix-key is specified, then you can choose field convertion function.

Customization

go-add-tags-conversion(Default: 'snake-case)

How to convert filed in tag from field name.

  • snake-case
  • lower-camel-case
  • upper-camel-case
  • original