```
[server]
#local server ip and port
#192.168.10.2,
ip=
port=8080
```
上面的ini文件怎么写成类似下面这样
server port=8080
求帮忙
ini文件
```
# All the students
[Student 1]
Name: Tom
Age: 5
[Section 2]
Name: Jerry
Age: 6
```
运行结果
```
$ go run main.go
Done
Read student 1...
Student 1: Tom , 5
Read student 2...
Student 2: Jerry , 6
$
```
可能我没说清楚 大概就是这样的形式
#2
更多评论