Protocol Buffers - Golang Tutorial
개요 공식 페이지의 Tutorial 을 따라해보며, Protocol buffers 를 좀 더 알아본다. 링크: https://developers.google.com/protocol-buffers/docs/gotutorial 매우 간단하게 세 가지를 해 볼 것이다. 1) 주고 받을 메시지 포맷을 .proto 파일로 정의해본다. 2) protocol buffer compiler (protoc) 를 이용해서 .pb.go 파일을 생성한다. 3) Go 의 protocol buffer API 를 이용하여 메시지를 읽고 써본다. Protocol Buffer 는 왜 쓸까? 튜토리얼에서 쓸 주소록 앱은 사람들의 연락처를 파일에 읽고 쓰게 되며사람들의 name, ID, email address, contact phone ..
golang
2019. 6. 7. 13:49
반응형
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- ORM
- API
- intellij
- 인텔리제이
- 중용
- OpenAI
- notion
- pool
- Shortcut
- strange
- go
- github
- agile
- 클린 애자일
- 영화
- bun
- 2023
- Gin
- 잡학툰
- websocket
- 노션
- golang
- postgres
- 명상
- ChatGPT
- 독서후기
- folklore
- solid
- 체호프
- Bug
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 |
30 |
글 보관함