diff options
| author | Shulhan <ms@kilabit.info> | 2018-05-13 00:14:20 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2018-05-13 02:55:39 +0700 |
| commit | 61fa0cf274d35facdb8d6dd28fe041cd1fdbc99f (patch) | |
| tree | 388a20e01169d4f53ae3353207b18b9f5e8a94b8 /lib/ini/section.go | |
| parent | f4b534da9b0206f6fca8c8a3aff07ee8a03aa0dc (diff) | |
| download | pakakeh.go-61fa0cf274d35facdb8d6dd28fe041cd1fdbc99f.tar.xz | |
section: add field for line number
Diffstat (limited to 'lib/ini/section.go')
| -rw-r--r-- | lib/ini/section.go | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/ini/section.go b/lib/ini/section.go index 8eeb75cc..447675df 100644 --- a/lib/ini/section.go +++ b/lib/ini/section.go @@ -13,13 +13,14 @@ import ( // Section represent section header in INI file format and their variables. // type Section struct { - mode varMode - format []byte - name []byte - _name []byte - sub []byte - others []byte - vars []*Variable + mode varMode + lineNum int + format []byte + name []byte + _name []byte + sub []byte + others []byte + vars []*Variable } // |
