gvsurenderreddy / goconf

Automatically exported from code.google.com/p/goconf
0 stars 0 forks source link

Name cleanup #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Attached is a patch with basic name cleanup as per IRC talk.

- Remove "Get" from getters.
- Remove "Config" from names.
- ConfigFile becomes just Config.

Full list:

ConfigFile -> Config
NewConfigFile -> New
ReadConfigBytes -> ReadBytes
ReadConfigFile -> ReadFile
GetBool -> Bool
GetFloat64 -> Float64
GetInt -> Int
GetOptions -> Options
GetRawString -> RawString
GetSections -> Sections
GetString -> String
WriteConfigBytes -> WriteBytes
WriteConfigFile -> WriteFile

Original issue reported on code.google.com by rodrigo.moraes on 30 Aug 2012 at 10:27

Attachments:

GoogleCodeExporter commented 8 years ago
NewConfigFile was NewConfig in the previous patch. Now it is New, as in the 
description.

Original comment by rodrigo.moraes on 30 Aug 2012 at 11:13

Attachments: