Well, I do not find the way to make it fit to my code, but that seems it could make the trick if correctly writes.
On Wednesday, December 28, 2016 at 2:27:00 PM UTC+1, Aldrin Leal wrote: > > I believe this sums it up pretty well: > > http://stackoverflow.com/questions/17609732/expand-tilde-to-home-directory > > -- > -- Aldrin Leal, <ald...@leal.eng.br <javascript:>> / > http://about.me/aldrinleal > > On Wed, Dec 28, 2016 at 10:22 AM, Aurélien Desbrières < > aurelien....@gmail.com <javascript:>> wrote: > >> As explain ~/ in golang <https://github.com/golang/go/issues/18443> , I >> am trying to request the user to cat a file with a gocat program. >> >> The point is that if the user tell to the terminal the full address, >> /home/user/file, the program works, but if the user use ~/file the program >> brokes. >> >> How can I use Golang to use ~/ in terminal request? >> >> -- >> 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...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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. For more options, visit https://groups.google.com/d/optout.