Git Product home page Git Product logo

learn-go's Introduction

GO语言学习

golang

GO简介

Go语言是2007年末由Robert Griesemer,Rob Pike,Ken Thompson主持开发,之后有Ian Lance Taylor,Russ Cox等人的加入,最终于2009年11月开源发布。它是一款简单的开源编程语言,它能让构造简单、可靠且高效的软件变得容易。

GO特点

  • 并发与协程
  • 基于消息传递的通信方式
  • 丰富实用的内置数据类型
  • 函数多返回值
  • defer机制
  • 反射(reflect)
  • 高性能HTTP Server

文档目录

  1. 初识go语言
    • go 简介
    • 环境搭建
    • hello world
  2. GO语法基础
    • 数据类型
    • 变量、常量
    • 分支控制
    • 循环
    • 函数
  3. GO函数
    • 函数的定义
    • 函数的调用
    • 匿名函数
    • 闭包
    • 延迟执行
    • 测试函数
  4. GO异常
    • 异常的定义
    • 自定义异常
    • 异常捕获
  5. GO包
    • 包的定义
    • 包的导入
    • 包的使用
      • 首字母大写的函数才可被引用
  6. GO 字符串
    • 字符串创建
    • 字符串操作
      • 字符串比较
      • 字符串切割
    • strings 包使用
  7. GO 时间
    • 时间获取
    • 时间戳
    • 时间操作
    • 时间格式化

learn-go's People

Contributors

huifer avatar imgbotapp avatar zeofura avatar

Stargazers

MetaGear avatar

Watchers

James Cloos avatar  avatar

Forkers

fengyeyy007

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.