9 Commits

Author SHA1 Message Date
Eli Bendersky
d4bbdc258b Reformat tools/ files 2022-05-24 05:44:45 -07:00
peterzhu1992
7e4533640b
Add embed-directive example (#423)
* Add embed-directive example and rename embedding to struct-embedding

Signed-off-by: peterzhu1992 <peterzhu1992@gmail.com>

* Minor tweaks

Signed-off-by: peterzhu1992 <peterzhu1992@gmail.com>

* Add some improvements

Signed-off-by: peterzhu1992 <peterzhu1992@gmail.com>

* Add isDir() checks for measure.go and generate.go in tools

Signed-off-by: peterzhu1992 <peterzhu1992@gmail.com>
2022-05-24 05:31:13 -07:00
Eli Bendersky
ac94809b64
Replace deprecated ioutil functions with others (#374)
* Remove use of deprecated ioutil functions from examples

* Remove usage of ioutil from gobyexample's own scripts

+ regenerate output
2021-08-28 06:38:35 -07:00
Eli Bendersky
7c160440be Use tabs as the canonical source indentation in git
Space conversion is done during generation only. Fixes #192
2019-06-04 07:30:58 -07:00
Mark McGranaghan
0a96c21881 Allows tools to use Go-standard formatting 2018-02-01 17:07:33 -05:00
everyx
d244c2cbe4 add missing utf-8 package import 2014-02-23 15:42:54 +08:00
everyx
bfa6fa1771 fix measure for ckj character 2014-02-22 22:38:15 +08:00
Mark McGranaghan
202a4a45b0 publish environment variables example 2012-10-10 08:46:34 -07:00
Mark McGranaghan
0c1a7354e5 tighten 2012-10-10 06:54:46 -07:00