> On 2 Oct 2020, at 15.05, quin...@gmail.com <quint...@gmail.com> wrote:
> 
> Hi,
> 
> When I was writing C I used to use a script bcmt.awk (it might have been one 
> of russ's or erikQ's, I cannot remember) to convert c++ style comments to K&R 
> syle. Now I am a proud go programmer I find my fingers still want to put 
> starts before and after my slashes when writing comments.
> 
> Has anyone written inlncmt.awk or similar to help me fix my poor style? 
> Though this may sound simple it needs care to deal with /* and */ in strings 
> and multiline comments nicely. This is why I ask.
> 

I am not familiar with inlncmt.awk, did you mean a tools to convert from "/**/" 
to "//" ?
If yes, I have gofmtcomment [1].

[1] https://pkg.go.dev/github.com/shuLhan/share/cmd/gofmtcomment

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/E924BC0F-D88F-45C7-A6C2-C689E0123FCA%40gmail.com.

Reply via email to