Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- springboot
- Algorithm
- organizeImports
- codewar
- maxlinelength
- opensouce
- httppretty
- restfulapi
- goalng
- ProxyServer
- loadimpact
- python
- vscode
- GlobalInterprintLock
- 규칙없음
- codewars
- 글쓰기가필요하지않은인생은없다
- 조엘온소프트웨어
- flake8
- pep8
- pyenv
- printer_helper
- Lint
- 유닉스의탄생
- 독후감
- 오큘러스퀘스트2
- Golang
- conf
- 코로나백신
- typevar
Archives
- Today
- Total
목록INI (1)
일상적 이야기들.
Conf, Init 파일 사용하기
Ini 프로그램 구동시 가장 먼저 Load 되어야할 정보들을 기록해둔다. Section, Key 로 구성이 되어있다. [property] path = "/Users/everspin/Public/company/next_gen_server_library_go/policy" fileName = "property.ini" [] 는 Secion을 의미한다. 하위는 Secion의 key를 의미한다. Code go get gopkg.in/ini.v1 package main import "gopkg.in/ini.v1" func main() { cfg, err := ini.Load("setting.ini") if err != nil { fmt.Println(err) } propertySection := cfg.Secti..
프로그래밍/GOLang
2021. 11. 9. 16:27