Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This repository was made to get familiar with basic syntax and mental model of Go programming language.

NotificationsYou must be signed in to change notification settings

saheemshafi/golang-from-the-basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What the go is?

Go is concise, clean and effiecient programming language by Google.

A Go Program

The entrypoint of a Go program ismain package.

GOPATH, What's that?

GOPATH is the environment variable that defines the root of the workspace.

Where is the defaultGOPATH?


WindowsUnix
%USERPROFILE%/go$HOME/go

Types

  • Almost everything inGo is a Type.
  • They are almost case insensitive.
  • The types of variables should be known in advance.

The Ladder

  1. The starting -Hello World
  2. TheType and variables
  3. Inputs, conversions and parsing
  4. Time and Dates
  5. BuildingGo project into different os binaries
  6. Memory management
  7. Pointers inGo
  8. Arrays
  9. Slices
  10. Key value pairs -Maps
  11. Structs
  12. Conditionals
  13. Switch case
  14. Loops
  15. Functions
  16. Attaching methods to structs
  17. defer keyword
  18. File system
  19. Http requests
  20. URL
  21. More aboutHTTP requests
  22. JSON - Javascript Object Notation
  23. ConsumingJSON
  24. (Important) -Modules in Golang
  25. A Simple In Memory Reset API
  26. Go Routines
  27. Wait Groups
  28. Mutex andRWMutex
  29. Communication between go routines

About

This repository was made to get familiar with basic syntax and mental model of Go programming language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp