mingrammer / gobyexample Goto Github PK
View Code? Open in Web Editor NEW:gift: Go By Example 한국어 버전
Home Page: https://mingrammer.com/gobyexample
:gift: Go By Example 한국어 버전
Home Page: https://mingrammer.com/gobyexample
@mingrammer
안녕하세요. 번역해 주신 문서 너무 재미있게 잘 보고 있습니다.
감사드립니다.
보다가 좀 애매한 부분이 있어서 문의 드립니다.
아래 부분에서 "다중 비동기 select를 구현하기 위해 위의 default
문에 다중 case
를 구현할 수 있습니다." <== 요 부분을 "다중 비동기 select를 구현하기 위해 default
문 위에 다중 case
를 구현할 수 있습니다." 로 바꾸면 어떨까 해서 올려봅니다. 뭔가 의미가 좀 애매하기도 하고 아래 예제상에서는 이게 더 어울리지 않을까 하는 생각이 들어서 올립니다.
// 다중 비동기 select를 구현하기 위해 위의 `default`문에 다중 `case`를 구현할 수 있습니다.
// 다음은 `messages`와 `signals` 두 채널로부터의 비동기 수신을 시도합니다.
select {
case msg := <-messages:
fmt.Println("received message", msg)
case sig := <-signals:
fmt.Println("received signal", sig)
default:
fmt.Println("no activity")
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.