Comments (6)
Hi,
Yeah, you need to change it to single quotes.
There is a PR that fixes it: #79, but It's a breaking change, and merging it might break other people's existing workflows. I'm going to look at whether we can introduce it in a backward compatible way.
Thanks for the feedback.
from gomodifytags.
Hi,
Yeah, you need to change it to single quotes.
There is a PR that fixes it: #79, but It's a breaking change, and merging it might break other people's existing workflows. I'm going to look at whether we can introduce it in a backward compatible way.
Thanks for the feedback.
Glad to know that this project is still under maintenance, thanks for your efforts :>
from gomodifytags.
This is now fixed with #85. We now use the new {field}
keyword, which I think is less prone to shell interpretations. We still support the old-style $field
keyword, so this new change doesn't break existing scripts.
from gomodifytags.
The changes are now released with the version: https://github.com/fatih/gomodifytags/releases/tag/v1.14.0
from gomodifytags.
@kecci You can take a look at this https://github.com/CrimsonAishia/gomodifytags. We've fixed this bug.
from gomodifytags.
FYI, (working on Linux, btw), change to single quotes like 'field_name=$field'
and it worked for me...
from gomodifytags.
Related Issues (20)
- Feature Request: skip already ignored fields
- support -field option HOT 2
- How 2 add tag name before element name? HOT 2
- camelcase does'nt work HOT 1
- Unexported embedded struct with skip-unexported option is still tagged HOT 3
- Add option to support custom formats HOT 1
- Document option to tag all structs HOT 1
- Incomplete detection for anonymous structs in function signature
- Adding Title Case to the list of supported cases HOT 3
- Support custom tag for selected field in struct HOT 1
- Add a mechanism to prefix tags HOT 1
- Cannot add more than one -add-options HOT 1
- Feature Request: regex based modification
- Feature Reqest: silent output HOT 5
- Unable to add static tag value with comma.
- Unable to install gomodifytags tool on VS Code
- copy tag value and options HOT 2
- Override flag defaults with a config file
- Add -transform lowercase HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gomodifytags.