We have hosted the application gomodifytags in order to run this application in our online workstations with Wine or directly.


Quick description about gomodifytags:

Go tool to modify/update field tags in structs. gomodifytags makes it easy to update, add or delete the tags in a struct field. You can easily add new tags, update existing tags (such as appending a new key, i.e: db, xml, etc.) or remove existing tags. It also allows you to add and remove tag options. It's intended to be used by an editor, but also has modes to run it from the terminal. Read the usage section below for more information. This accepts the struct name. i.e: -struct Server. The name should be a valid type name. The -struct flag selects the whole struct, and thus it will operate on all fields. There are many options on how you can change the struct. Let us start by adding tags. By default changes will be printed to stdout and can be used for dry-run your changes before making destructive changes. If you want to change it permanently, pass the -w (write) flag.

Features:
  • You can disable printing the results to stdout with the --quiet flag
  • By default a struct tag's value is transformed from a struct's field and used directly
  • You can also pass a static value for each fields
  • To add options to for a given key, we use the -add-options flag
  • By default all fields are processed
  • You can remove multiple tags


Programming Language: Go.
Categories:
Frameworks

Page navigation:

©2024. Winfy. All Rights Reserved.

By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.