Makefile changed

This commit is contained in:
Stephen Weinberg 2010-03-29 00:24:03 -04:00
parent f45ce435b3
commit 0db041f3a4
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
include $(GOROOT)/src/Make.$(GOARCH)
TARG=goconf.googlecode.com/hg/
TARG=conf
GOFILES=\
conf.go\
get.go\

View File

@ -17,7 +17,7 @@
//
// To read this configuration file, do:
//
// c, err := configfile.ReadConfigFile("config.cfg");
// c, err := conf.ReadConfigFile("config.cfg");
// c.GetString("service-1", "url"); // result is string :http://www.example.com/some/path"
// c.GetInt("service-1", "maxclients"); // result is int 200
// c.GetBool("service-1", "delegation"); // result is bool true
@ -28,7 +28,7 @@
//
// A new configuration file can also be created with:
//
// c := configfile.NewConfigFile();
// c := conf.NewConfigFile();
// c.AddSection("section");
// c.AddOption("section", "option", "value");
// c.WriteConfigFile("config.cfg", 0644, "A header for this file"); // use 0644 as file permission