楼主: Lisrelchen
2272 17

【Aaron Torres】Go Cookbook [推广有奖]

  • 0关注
  • 62粉丝

VIP

已卖:4194份资源

院士

67%

还不是VIP/贵宾

-

TA的文库  其他...

Bayesian NewOccidental

Spatial Data Analysis

东西方数据挖掘

威望
0
论坛币
50288 个
通用积分
83.6906
学术水平
253 点
热心指数
300 点
信用等级
208 点
经验
41518 点
帖子
3256
精华
14
在线时间
766 小时
注册时间
2006-5-4
最后登录
2022-11-6

楼主
Lisrelchen 发表于 2017-7-1 21:12:23 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币


  1. Go Cookbook
  2. Authors: Aaron Torres
  3. ISBN-10 书号: 1783286830
  4. ISBN-13 书号: 9781783286836
  5. Release 出版日期: 2017-09-06
  6. pages 页数: (503)
  7. 44.99

  8. Key Features
  9. Discover a number of recipes and approaches to develop modern back-end applications
  10. Combine recipes for sophisticated parallel tools using best practices
  11. This book is based on the latest version of Go
  12. Book Description
  13. Go (a.k.a. Golang) is a statically-typed programming language first developed at Google. It is derived from C with additional features such as garbage collection, type safety, dynamic-typing capabilities, additional built-in types, and a large standard library.

  14. This book takes off where basic tutorials on the language leave off. You can immediately put into practice some of the more advanced concepts and libraries offered by the language while avoiding some of the common mistakes for new Go developers.

  15. The book will cover basic type and error handling. It will also explore applications that interact with users, such as websites, command-line tools, or via the file system. It will demonstrate how to handle advanced topics such as parallelism, distributed systems, and performance tuning. Lastly, it will finish with reactive and serverless programming in Go.

  16. What you will learn
  17. Test your application using advanced testing methodologies
  18. Develop an awareness of application structures, interface design, and tooling
  19. Create strategies for third-party packages, dependencies, and vendoring
  20. Get to know tricks on treating data such as collections
  21. Handle errors and cleanly pass them along to calling functions
  22. Wrap dependencies in interfaces for ease of portability and testing
  23. Explore reactive programming design patterns in Go
  24. Contents
  25. Chapter 1. I/O and File Systems
  26. Chapter 2. Command-Line Tools
  27. Chapter 3. Data Conversion and Composition
  28. Chapter 4. Error Handling in Go
  29. Chapter 5. All about Databases and Storage
  30. Chapter 6. Web Clients and APIs
  31. Chapter 7. Microservices for Applications in Go
  32. Chapter 8. Testing
  33. Chapter 9. Parallelism and Concurrency
  34. Chapter 10. Distributed Systems
  35. Chapter 11. Reactive Programming and Data Streams
  36. Chapter 12. Serverless Programming
  37. Chapter 13. Performance Improvements, Tips, and Tricks
复制代码

本帖隐藏的内容

Go Cookbook.pdf (716.89 KB, 需要: 5 个论坛币)



二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Cookbook Aaron Book Cook AAR

本帖被以下文库推荐

沙发
auirzxp(未真实交易用户) 学生认证  发表于 2017-7-1 21:26:19
提示: 作者被禁止或删除 内容自动屏蔽

藤椅
MouJack007(未真实交易用户) 发表于 2017-7-2 05:50:31
谢谢楼主分享!
已有 1 人评分论坛币 收起 理由
Nicolle + 20 鼓励积极发帖讨论

总评分: 论坛币 + 20   查看全部评分

板凳
MouJack007(未真实交易用户) 发表于 2017-7-2 05:50:50

报纸
hjtoh(未真实交易用户) 发表于 2017-7-2 08:15:23 来自手机
Lisrelchen 发表于 2017-7-1 21:12
**** 本内容被作者隐藏 ****
好好学习
已有 1 人评分论坛币 收起 理由
Nicolle + 20 鼓励积极发帖讨论

总评分: 论坛币 + 20   查看全部评分

地板
h2h2(未真实交易用户) 发表于 2017-7-2 09:10:11
谢谢分享
已有 1 人评分论坛币 收起 理由
Nicolle + 20 鼓励积极发帖讨论

总评分: 论坛币 + 20   查看全部评分

7
fengyg(真实交易用户) 企业认证  发表于 2017-7-2 11:26:05
kankan
已有 1 人评分论坛币 收起 理由
Nicolle + 20 鼓励积极发帖讨论

总评分: 论坛币 + 20   查看全部评分

8
albertwishedu(未真实交易用户) 发表于 2017-7-3 08:43:29
已有 1 人评分论坛币 收起 理由
Nicolle + 20 鼓励积极发帖讨论

总评分: 论坛币 + 20   查看全部评分

9
ReneeBK(未真实交易用户) 发表于 2017-7-7 04:41:34
  1. package ansicolor

  2. import "fmt"

  3. //Color of text
  4. type Color int

  5. const (
  6.         // ColorNone is default
  7.         ColorNone = iota
  8.         // Red colored text
  9.         Red
  10.         // Green colored text
  11.         Green
  12.         // Yellow colored text
  13.         Yellow
  14.         // Blue colored text
  15.         Blue
  16.         // Magenta colored text
  17.         Magenta
  18.         // Cyan colored text
  19.         Cyan
  20.         // White colored text
  21.         White
  22.         // Black colored text
  23.         Black Color = -1
  24. )

  25. // ColorText holds a string and its color
  26. type ColorText struct {
  27.         TextColor Color
  28.         Text      string
  29. }

  30. func (r *ColorText) String() string {
  31.         if r.TextColor == ColorNone {
  32.                 return r.Text
  33.         }

  34.         value := 30
  35.         if r.TextColor != Black {
  36.                 value += int(r.TextColor)
  37.         }
  38.         return fmt.Sprintf("\033[0;%dm%s\033[0m", value, r.Text)
复制代码

10
ReneeBK(未真实交易用户) 发表于 2017-7-7 04:42:21
  1. package main

  2. import (
  3.         "flag"
  4.         "fmt"
  5.         "os"
  6. )

  7. const version = "1.0.0"
  8. const usage = `Usage:

  9. %s [command]

  10. Commands:
  11.     Greet
  12.     Version
  13. `

  14. const greetUsage = `Usage:

  15. %s greet name [flag]

  16. Positional Arguments:
  17.     name
  18.         the name to greet

  19. Flags:
  20. `

  21. // MenuConf holds all the levels
  22. // for a nested cmd line argument
  23. type MenuConf struct {
  24.         Goodbye bool
  25. }

  26. // SetupMenu initializes the base flags
  27. func (m *MenuConf) SetupMenu() *flag.FlagSet {
  28.         menu := flag.NewFlagSet("menu", flag.ExitOnError)
  29.         menu.Usage = func() {
  30.                 fmt.Printf(usage, os.Args[0])
  31.                 menu.PrintDefaults()
  32.         }
  33.         return menu
  34. }

  35. // GetSubMenu return a flag set for a submenu
  36. func (m *MenuConf) GetSubMenu() *flag.FlagSet {
  37.         submenu := flag.NewFlagSet("submenu", flag.ExitOnError)
  38.         submenu.BoolVar(&m.Goodbye, "goodbye", false, "Say goodbye instead of hello")

  39.         submenu.Usage = func() {
  40.                 fmt.Printf(greetUsage, os.Args[0])
  41.                 submenu.PrintDefaults()
  42.         }
  43.         return submenu
  44. }

  45. // Greet will be invoked by the greet command
  46. func (m *MenuConf) Greet(name string) {
  47.         if m.Goodbye {
  48.                 fmt.Println("Goodbye " + name + "!")
  49.         } else {
  50.                 fmt.Println("Hello " + name + "!")
  51.         }
  52. }

  53. // Version prints the current version that is
  54. // stored as a const
  55. func (m *MenuConf) Version() {
  56.         fmt.Println("Version: " + version)
  57. }
复制代码

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-2-3 19:48