⛓️
Blockchain
  • Start!
  • Go_lang
    • Tutorial
    • 1. Banking
    • 2. Dictionary
    • 3. URL Checker
    • Useful Methods - Slice
    • Useful data structure
  • RUST
    • Start
    • Basic
    • Basic Programming Concepts
      • Variables and Mutability
  • Bitcoin
    • Start
    • Introduction
    • Transactions
  • GO-BITCOIN
    • Start
    • 1. Blocks & Blockchain
    • 2. Proof of work
    • 3. BadgerDB
    • 4. Transactions
    • 5. Wallet
    • 6. Adding Digital Signatures
  • COSMOS
    • 코스모스 SDK
    • 코스모스 SDK 실습 - nameservice
    • 코스모스 허브는 어떻게 사용하는가?
    • 코스모스 허브, 금융의 역사를 다시 쓰다
    • Tendermint
      • ABCI
      • Messages
  • Cosmos Tutorial
    • Tutorials
    • 1. Blog
    • Nameservice
    • [Starport] Escrow Account: Scavenge
    • [Starport] Inter-Blockchain Communication: Basics
    • Create an IBC Interchain Exchange module
      • Introduction
      • App Design
      • Initialize the Blockchain
      • Create the Order Book
  • Ethereum
    • Start
    • Gas
    • Oracle Problem
  • consensus
    • DPoS
    • PBFT
    • Network model
  • cryptosystem
    • 대칭키 암호
    • IPFS
  • Social token
    • Rally
    • DeSo
      • Bitclout
      • Deso: The Decentralized Social Network
      • Setting Up Your Dev Environment
      • Deso Code Walkthrough
      • Web3 Will Not Be Built on Smart Contracts
  • 재윤TV
    • Start
    • 유니스왑에 대해서 아라보자
      • Concept
      • V2 백서 분석
      • V2 코드 분석
Powered by GitBook
On this page

Was this helpful?

  1. Go_lang

Tutorial

Start Go lang tutorial!!

PreviousStart!Next1. Banking

Last updated 3 years ago

Was this helpful?

Go Documentation 의 튜토리얼 따라해보며 Go 구조를 경험해보자.

Documentation - Getting Started

  1. 모듈 관리

    • Go lang 은 언어 자체에서 모듈 관리를 한다. 따라서 GOROOT 경로 안에서 코드를 작성해야 새로운 모듈을 추가할 수 있고 Go lang이 해당 코드, 모듈의 위치를 알 수 있다. 하지만 Go Modules를 추가하면 GOROOT 경로 외에서도 모듈을 import 할 수 있다.

    • Go Modules

      • go mod init creates a new module, initializing the go.mod file that describes it.

      • go build, go test, and other package-building commands add new dependencies to go.mod as needed.

      • go list -m all prints the current module’s dependencies.

      • go get changes the required version of a dependency (or adds a new dependency).

      • go mod tidy removes unused dependencies.

GitHub - HTaeha/go_tutorialGitHub
A Tour of Go
Go lang의 여러 문법과 구조를 학습할 수 있다.
Logo
The Go Programming Language
Go package를 검색할 수 있다.
Logo
Documentation - The Go Programming Language
Documentation - Getting Started를 해보자.
Logo
Logo
Watch Now – 노마드 코더 Nomad CodersNomad Coders
노마드 코더 강의를 보며 간단한 Go project를 실습했다.
Logo