Go Cookbook: Expert Solutions for Commonly Needed Go Tasks
暫譯: Go 食譜:常見 Go 任務的專家解決方案

Chang, Sau Sheong

  • 出版商: O'Reilly
  • 出版日期: 2023-10-17
  • 定價: $2,700
  • 售價: 8.8$2,376 (限時優惠至 2025-02-02)
  • 語言: 英文
  • 頁數: 367
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1098122119
  • ISBN-13: 9781098122119
  • 相關分類: Go 程式語言
  • 立即出貨 (庫存 < 4)

買這商品的人也買了...

相關主題

商品描述

Go is an increasingly popular language for programming everything from web applications to distributed network services. This practical guide provides recipes to help you unravel common problems and perform useful tasks when working with Go. Each recipe includes self-contained code solutions that you can freely use, along with a discussion of how and why they work. Programmers new to Go can quickly ramp up their knowledge while accomplishing useful tasks, and experienced Go developers can save time by cutting and pasting proven code directly into their applications.

Recipes include:

  • Creating a module
  • Calling code from another module
  • Returning and handling an error
  • Converting strings to numbers (or converting numbers to strings)
  • Modifying multiple characters in a string
  • Creating substrings from a string
  • Capturing string input
  • And so much more

商品描述(中文翻譯)

Go 是一種越來越受歡迎的程式語言,適用於從網頁應用程式到分散式網路服務的各種開發。這本實用指南提供了多個範例,幫助您解決常見問題並在使用 Go 時執行有用的任務。每個範例都包含獨立的程式碼解決方案,您可以自由使用,並附有關於其運作方式及原因的討論。對於新接觸 Go 的程式設計師來說,可以快速提升知識並完成有用的任務,而有經驗的 Go 開發者則可以透過直接將經過驗證的程式碼複製並粘貼到他們的應用程式中來節省時間。

範例包括:

- 創建模組
- 從另一個模組調用程式碼
- 返回和處理錯誤
- 將字串轉換為數字(或將數字轉換為字串)
- 修改字串中的多個字符
- 從字串創建子字串
- 捕獲字串輸入
- 還有更多內容