Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
러닝 Go : Go 개발자처럼 생각하는 방법
by
존 보드너
,
윤대석
February 2022
Beginner to intermediate
452 pages
10h 48m
Korean
Hanbit Media, Inc.
Content preview from
러닝 Go : Go 개발자처럼 생각하는 방법
323
11
장
표준 라이브러리
기다릴 뿐만 아니라 티커
ticker
를 리셋하거나 중지할 수 있는 메서드를 가지는
*
time
.
Ticker
를
반환하는
time
.
NewTicker
를 사용하자.
11.3
encoding
/
json
REST
API
는 서비스들 간 통신을 위해 표준 방식으로
JSON
을 사용하고
Go
의 표준 라이브러
리는
Go
데이터 타입에서
JSON
으로
JSON
에서
Go
데이터 타입으로 변환을 위한 지원을 포
함한다.
마샬링
이라는 단어는
Go
데이터 타입을 인코딩으로 변환하는 것을 의미하고
언마샬링
은
Go
데이터 타입으로 변환하는 것을 의미한다.
11.3.1
메타데이터를 추가하기 위한 구조체 태그 사용
다음과 같은
JSON
을 읽고 쓰기를 하여 주문 관리 시스템을 구축한다고 가정하자.
{
“id”:”12345”,
“date_ordered”:”2020-05-01T13:01:02Z”,
“customer_id”:”3”,
“items”:[{“id”:”xyz123”,”name”:”Thing 1”},{“id”:”abc789”,”name”:”Thing 2”}]
}
해당 데이터를 매핑하기 위한 타입을 정의하자.
type Order struct {
ID string `json:”id”`
DateOrdered time.Time `json:”date_ordered”`
CustomerID ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
효율적인 리눅스 명령어 사용의 기술
Daniel J Barrett
코드로 인프라 관리하기(2판)
키프 모리스
코드로 인프라 관리하기: 효율적인 인프라 관리를 위한 자동화 방법
강재준
자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
조너선 슈나이더
Publisher Resources
ISBN: 9791162245309