Skip to content

11im/Study_Go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoLang 공부

교재 : Tucker의 Go 언어 프로그래밍


From : 2022.05.31


Init   :   상위 폴더에서

go mod init Directory_Name

Build   :   해당 디렉토리 내에서

go build

외부 패키지 이용   :   import에 "package_link" 후 go.mod 폴더에서

go mod tidy

Local Package 이용   :   import   "mod_name/mod_directory/directories.../package name"


Test   :   Test Code는 (main)_test.go 형식으로 작성 후 해당 디렉토리에서

go test

개별 Test 수행

go test -run (Test 함수 이름) 

Benchmark   :   Test를 여러 번 반복 수행

Test Code 내에 func BenchmarkXxxxx(b *testing.B) 형식으로 작성 후 go test -bench

Package 다운로드  

go get (package_link)   


날짜 별


22.05.31

Today's Song : Silk Sonic - 777

hello : Hello Go World
Var : Var Type, Declare, Change Type
FMT : Standard I/O


22.06.01

Today's Song : Anne Mari, Niall Horan - Our Song

Calc : Basic Calculation
Func : Declare Function, Recursive
Const : Declare Constant, Using iota


22.06.03

Today's Song : NVTHVN, Forrest - Dancing in the living room

If : Basic If, Multi If, Initial;Condition
Switch : Basic Switch, Condition, Const iota, Fallthrough
For : Basic For, Continue / Break, Multi For & Lable
Array : Decleare Array, Range, Multidimensional Array


22.06.07

Today's Song : Arizona Zervas - Roxanne

Structure : Declare & Initialize Structure
Pointer : Declare Initialize Pointer, Instance, Garbage Collector
String : "" vs ``, rune, range, Immutable


22.06.08

Today's Song : Powfu - Death Bed(coffee for yout head)

Package : Declare Package, Module, go.mod, go.sum


22.06.09

Today's Song : BRELAND - My Truck

HitNum : Stdio, Random Int, Seed, Time
SlotEX : Stdio, Random Int, Seed, Time
Slice : Declare, Append, Delete, Copy ...


22.06.10

Today's Song : Tracy Chapman - Give Me One Reason

Method : Declare Method, Pointer, Value
Interface : Using Interface with Module, Convert to Another Interface or Concrete Type


22.06.13

Today's Song : Monsune - Outta My Mind

Function2 : Args, defer, Literal
DataStructure : Queue, Stack


22.06.14

Today's Song : Forrest, Biskwiq - Why Not Me

DataStructure2 : Ring, Map
Error : Error Handling, Recover


22.06.16

Today's Song : Earth, Wind & Fire - September

Go Routine : Lock, WaitGroup, Mutex
Channel : Channel, Context


22.06.17

Today's Song : Daft Phunk - Harder, Better, Faster, Stronger

SearchWord : filepath.Glob, Scan
SearchWord2 : channel


22.06.21

Today's Song : TroyBoi - ili

SOILID : SRP, OCP, LSP, ISP, DIP
Test : Testing Code, Benchmark


22.06.22

Today's Song : Jay Park - Yacht

Web Server : Request, File Server, Test, ServeMux

About

GoLang 공부

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published