您好,欢迎光临本网站![请登录][注册会员]  
文件名称: Go in Action.pdf
  所属分类: 其它
  开发工具:
  文件大小: 9mb
  下载次数: 0
  上传时间: 2019-07-03
  提 供 者: python*******
 详细说明:Go in Action.pdf英文版Www.1024ebook.com Go inm action WILLIAM KENNEDY WITH BRIAN KETELSEN AND ERIKST MARTIN MANNING SHELTER ISLAND Www.1024ebook.com For online information and ordering of this and other Manning books, please visit www.manning.com.Thepublisheroffersdiscountsonthisbookwhenorderedinquantity For more information, please contact Special Sales Department Manning publications co 20 Baldwin Road PO Box 761 Shelter island. nY11964 Emailordersmanning.com 2016 by Manning Publications Co. All rights reserved No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all o Recognizing the importance of preserving what has been written, it is Mannings policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end Recognizing also our responsibility to conserve the resources of our planet, Manning book are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine Manning publications Co Development editor: Jennifer Stout 20 Baldwin road Technical development editor: Kim Shrier PO Box 761 Copyeditor: Jodie Allen Shelter island. NY11964 Proofreader: Katie Tennant Technical proofreader: Jimmy frasche Typesetter: Dottie marsico Cover designer: Marija Tudor ISBN9781617291784 Printed in the united states of america 12345678910-EBM-201918171615 Www.1024ebook.com brief contents 1■ Introducing Go quick-start 9 Packaging and tooling 39 4 Arrays, slices, and maps 57 Go's type system 88 6■ Concurrency128 7 Concurrency patterns 158 Standard library 184 9 Testing and benchmarking 211 Www.1024ebook.com Www.1024ebook.com contents foreword xi preface x acknowledgments xiv about this book xui about the cover illustration xix 7 Introducing Go 1 Solving modern programming challenges with Go 2 Development speed 3. Concurrency 3. Go's type system 5 Memory management 7 1. 2 Hello, Go 7 Introducing the Go Playground 8 1.3 Summary 8 2 Go quick-start 9 2.1 Program architecture 10 2.2 Main package ll 2.3 Search package 13 search go 14. feed. go 22- match. go/default. go 26 2.4 RSS matcher 32 2.5 Summary 38 Www.1024ebook.com vIll CONTENTS 3 Packaging and tooling 39 3.1 Packages 40 Package-naming conventions 40- Package main 40 3.2 Imports 42 Remote imports 42. Named imports 43 3.3 init 44 8.4 USing Go tools 45 3.5 Going farther with Go developer tools 47 go vet47· Go format48· Go documentation48 3.6 Collaborating with other go developers 51 Creating repositories for sharing 5/ 8. 7 Dependency management 52 Vendoring dependencies 52. Introducing gb 54 3.8 Summary 56 Arrays, slices, and maps 57 4.1 Array internals and fundamentals 57 Internals 58. Declaring and initializing 58. Working with aayS60· Multidimensional arrays62· Passing arrays between functions 64 4.2 Slice internals and fundamentals 65 Internals 65. Creating and initializing 65. Working with slices 68. Multidimensional slices 79. Passing slices between functions 80 4.3 Map internals and fundamentals 81 Internals 81. Creating and initializing 83. Working with maps 84. Passing maps between functions 86 4.4 Summary 87 5 Gos type system 88 5. 1 User-defined types 89 5.2 Methods 92 5.3 The nature of types 96 Built-in types 96. Reference types 97. Struct types 98 Www.1024ebook.com CONTENTS 5.4 Interfaces 101 Standard library 102. Implementation 104. Method sets 105 Polymorphism 109 5.5 Type embedding 111 5.6 Exporting and unexporting identifiers 119 5. 7 Summary 127 Concurrency 128 6.1 Concurrency versus parallelism 129 6.2 Goroutines 132 6.3 Race conditions 139 6.4 Locking shared resources 142 Atomic functions 142. Mutexes 145 6.5 Channels 147 Unbuffered channels 148 Buffered channels 153 6.6 Summary 157 Concurren acy patterns 158 7.1 Runner 158 7.2 Pooling 167 7.3Work177 7.4 Summary 183 Standard library 184 8.1 Documentation and source code 185 8.2 Logging 187 Log package 187. Customized loggers 191 Conclusion 195 8.3 Encoding/Decoding 196 Decoding SON 196. Encoding SON 201 Conclusion 202 8.4 Input and output 203 Writer and Reader interfaces 203. Working together 205 Simple curl 208. Conclusion 210 8.5 Summary 210 Www.1024ebook.com
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: GoinAction.pdf
 输入关键字,在本站1000多万海量源码库中尽情搜索: