a command line tool convert from yaml to json

1,301 views
Skip to first unread message

bronze man

unread,
Nov 13, 2013, 9:36:38 PM11/13/13
to golan...@googlegroups.com
Hi forks,
I wrote a command line tool convert from yaml to json:
  • zero config.
  • zero install.
  • support windows,linux,Mac os,freebsd,netbsd,openbsd,plan9 platform

Dave Cheney

unread,
Nov 13, 2013, 10:08:16 PM11/13/13
to bronze man, golan...@googlegroups.com
Nice. 

Two small nits.

1. Please gofmt your code
2. You can use log.Fatal to exit the program on error. 
--
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.
For more options, visit https://groups.google.com/groups/opt_out.

bronze man

unread,
Nov 13, 2013, 10:40:35 PM11/13/13
to golan...@googlegroups.com, bronze man
Thanks,
1. I gofmt my code.
2.It seems log.Fatal(err) equal to fmt.Print(err);os.Exit(1);
http://golang.org/pkg/log/#Fatal
Reply all
Reply to author
Forward
0 new messages