Skip to content

Commit

Permalink
fix: fix the type error on readme. close: #39
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Jun 23, 2022
1 parent 2a054bb commit 21555c4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 60 deletions.
2 changes: 1 addition & 1 deletion .github/changelog.yml
Expand Up @@ -3,7 +3,7 @@ title: '## Change Log'
style: gh-release
# group names
names: [Refactor, Fixed, Feature, Update, Other]
repo_url: https://github.com/gookit/ini
#repo_url: https://github.com/gookit/ini

filters:
# message length should >= 12
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -145,13 +145,13 @@ value := ini.String("sec1.varRef")
fmt.Printf("%q", value) // "val in default section"
```

- Setting new value
- Set new value

```go
// set value
ini.Set("name", "new name")
name = ini.String("name")
fmt.Printf("%q", value) // "new name"
fmt.Printf("%q", name) // "new name"
```

## Mapping data to struct
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Expand Up @@ -149,7 +149,7 @@ fmt.Printf("%q", value) // "val in default section"
// set value
ini.Set("name", "new name")
name = ini.String("name")
fmt.Printf("%q", value) // "new name"
fmt.Printf("%q", name) // "new name"
```

### 将数据映射到结构
Expand Down
56 changes: 0 additions & 56 deletions dotnev/dotenv.go

This file was deleted.

0 comments on commit 21555c4

Please sign in to comment.