0%

Get an in-depth introduction to the Go programming language and its associated standard runtime libraries. This book is targeted towards programmers that already know the Java programming language and uses that Java knowledge to direct the learning of Go. You will get a deep understanding of the Go language and obtain a good introduction to the extensive Go standard libraries. 

This book teaches Go through clear descriptions of Go features, contrasting them with similar Java features and via providing extensive code examples. After reading this book you will be knowledgeable enough about Go and its libraries to begin doing effective programming using the Go language.  

Go for Java Programmers is structured more like a tutorial than a reference document. It covers key features of Go, but not every little detail as a reference might. Its goal is to get you competent enough in Go and its runtime that you can begin to effectively write Go programs.  

What You Will Learn

  • Examine the key Go Runtime libraries and how they compare to Java libraries
  • See when it is appropriate to use the Go language instead of the Java language
  • Read and understand programs written in Go
  • Write many programs in Go
  • Determine when Go is an appropriate language to develop applications in
  • Discover how the Go and Java languages and development experience compare and contrast

Who This Book Is For

Primarily existing professional Java programmers or students that already know something about Java. A basic understanding of Java is expected. Some basic programming experience with imperative languages is expected.

Table of Contents

  1. Cover
  2. Front Matter
  3. Part I. First Look at Go
    1. 1. A Brief Look at Go vs. Java
    2. 2. What Java Has That Go Does Not
    3. 3. A Deeper Comparison of Go and Java
  4. Part II. The Go Language
    1. 4. Key Go Aspects
    2. 5. Go Basic Features
    3. 6. Go Types
    4. 7. Errors and Panics
    5. 8. Go Statements
    6. 9. Applications for Interfaces
    7. 10. Go Unit Tests and Benchmarks
    8. 11. Going into the Future
  5. Part III. Go Library Survey
    1. 12. Key Package Comparison
    2. 13. Key Method/Function Comparison
    3. 14. Go Package Survey
    4. 15. SQL Database Access
    5. 16. Client and Server Support
    6. 17. Go Runtime
  6. Back Matter
3.145.12.1