mirror of
https://github.com/go-ini/ini.git
synced 2026-06-19 21:46:45 +02:00
README
This commit is contained in:
@@ -26,7 +26,7 @@ Package ini provides INI file read and write functionality in Go.
|
||||
|
||||
### Loading from data sources
|
||||
|
||||
A **Data Source** is either raw data in type `[]byte` or a file name with type `string` and you can load **as many as** data sources you want. Passing other types will simply returns error.
|
||||
A **Data Source** is either raw data in type `[]byte` or a file name with type `string` and you can load **as many as** data sources you want. Passing other types will simply return an error.
|
||||
|
||||
```go
|
||||
cfg, err := ini.Load([]byte("raw data"), "filename")
|
||||
|
||||
Reference in New Issue
Block a user