[{"data":1,"prerenderedAt":1682},["ShallowReactive",2],{"blog-go-makefile":3,"blog-all-for-related":1189},{"id":4,"title":5,"author":6,"body":7,"cardAlt":5,"categories":1175,"description":1177,"draft":1178,"extension":1179,"headerImage":1180,"keywords":1181,"meta":1182,"name":1183,"navigation":112,"path":1184,"seo":1185,"series":6,"stem":1186,"updated":6,"year":1187,"__hash__":1188},"blog\u002Fblog\u002Fgo-makefile.md","Ultimate Makefile for Golang",null,{"type":8,"value":9,"toc":1167},"minimark",[10,23,43,46,1163],[11,12,13,14,18,19,22],"p",{},"Developing and testing extensive codebases can be a time-consuming, error-prone, and repetitive endeavor. While Golang offers support for multi-platform builds, the process often necessitates executing multiple commands to generate binaries for various platforms, resulting in additional ",[15,16,17],"strong",{},"time consumption"," and ",[15,20,21],{},"repetition",". Moreover, most projects entail dependencies that must be installed before compiling the binary, and it's imperative to conduct thorough testing, as well as ensure code quality using linters and code coverage tools.",[11,24,25,26,33,34,37,38,42],{},"Enter the utility tool ",[27,28,32],"a",{"href":29,"rel":30},"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FMake_(software)",[31],"nofollow","Make",", renowned for its capacity to automate tasks. By streamlining development and automating repetitive procedures with a single command, Make significantly enhances efficiency. It proves invaluable for testing, building, cleaning, and installing Go projects. In this tutorial, we will delve into harnessing the power of Make and makefiles to ",[15,35,36],{},"automate"," these tedious and repetitive tasks associated with Golang development. You will gain insights into how to utilize Make and a ",[39,40,41],"code",{},"Makefile"," to seamlessly build, clean, and test a sample Go project.",[11,44,45],{},"Leveraging Makefiles can revolutionize this process, ensuring that your project is built efficiently and consistently, while saving you valuable time and effort.",[47,48,49,52,57,67,72,85,172,175,192,195,233,236,251,254,258,439,442,454,457,468,471,475,478,1058,1060,1064,1086],"ads",{},[50,51],"hr",{},[53,54,56],"h2",{"id":55},"what-is-a-makefile","What is a Makefile?",[11,58,59,60,63,64,66],{},"A Makefile is a simple text file that contains instructions for building a software project. It is used by the ",[39,61,62],{},"make"," utility, a popular build automation tool available on Unix-based systems, including Linux and macOS. The Makefile specifies the project’s dependencies, build rules, and targets, allowing the ",[39,65,62],{}," utility to compile and link your source files into an executable program.",[68,69,71],"h3",{"id":70},"adding-a-makefile-to-your-project","Adding a Makefile To Your Project",[11,73,74,75,77,78,81,82,84],{},"To start using make commands, you first need to create a ",[39,76,41],{}," in the root directory of your project. Let’s create a simple ",[39,79,80],{},"hello world"," project with a ",[39,83,41],{}," in it.",[86,87,92],"pre",{"className":88,"code":89,"language":90,"meta":91,"style":91},"language-go shiki shiki-themes github-light github-dark","package main\n\nimport \"fmt\"\n\nfunc main() {\n fmt.Println(\"hello world\")\n}\n","go","",[39,93,94,107,114,130,135,148,166],{"__ignoreMap":91},[95,96,99,103],"span",{"class":97,"line":98},"line",1,[95,100,102],{"class":101},"szBVR","package",[95,104,106],{"class":105},"sScJk"," main\n",[95,108,110],{"class":97,"line":109},2,[95,111,113],{"emptyLinePlaceholder":112},true,"\n",[95,115,117,120,124,127],{"class":97,"line":116},3,[95,118,119],{"class":101},"import",[95,121,123],{"class":122},"sZZnC"," \"",[95,125,126],{"class":105},"fmt",[95,128,129],{"class":122},"\"\n",[95,131,133],{"class":97,"line":132},4,[95,134,113],{"emptyLinePlaceholder":112},[95,136,138,141,144],{"class":97,"line":137},5,[95,139,140],{"class":101},"func",[95,142,143],{"class":105}," main",[95,145,147],{"class":146},"sVt8B","() {\n",[95,149,151,154,157,160,163],{"class":97,"line":150},6,[95,152,153],{"class":146}," fmt.",[95,155,156],{"class":105},"Println",[95,158,159],{"class":146},"(",[95,161,162],{"class":122},"\"hello world\"",[95,164,165],{"class":146},")\n",[95,167,169],{"class":97,"line":168},7,[95,170,171],{"class":146},"}\n",[11,173,174],{},"To run this project, you would normally need to build the project and run the binary:",[86,176,180],{"className":177,"code":178,"language":179,"meta":91,"style":91},"language-bash shiki shiki-themes github-light github-dark","go build main.go\n","bash",[39,181,182],{"__ignoreMap":91},[95,183,184,186,189],{"class":97,"line":98},[95,185,90],{"class":105},[95,187,188],{"class":122}," build",[95,190,191],{"class":122}," main.go\n",[11,193,194],{},"If you want a different binary name and also want to create a build for a specific OS, you can specify this during the build:",[86,196,198],{"className":177,"code":197,"language":179,"meta":91,"style":91},"GOARCH=amd64 GOOS=darwin go build -o hello-world main.go\n",[39,199,200],{"__ignoreMap":91},[95,201,202,205,208,211,214,216,219,222,224,228,231],{"class":97,"line":98},[95,203,204],{"class":146},"GOARCH",[95,206,207],{"class":101},"=",[95,209,210],{"class":122},"amd64",[95,212,213],{"class":146}," GOOS",[95,215,207],{"class":101},[95,217,218],{"class":122},"darwin",[95,220,221],{"class":105}," go",[95,223,188],{"class":122},[95,225,227],{"class":226},"sj4cs"," -o",[95,229,230],{"class":122}," hello-world",[95,232,191],{"class":122},[11,234,235],{},"If you want to run, each time you'll have to execute this command.",[86,237,239],{"className":177,"code":238,"language":179,"meta":91,"style":91},"go run hello-world\n",[39,240,241],{"__ignoreMap":91},[95,242,243,245,248],{"class":97,"line":98},[95,244,90],{"class":105},[95,246,247],{"class":122}," run",[95,249,250],{"class":122}," hello-world\n",[11,252,253],{},"The above commands can be simplified using Makefile. You can specify rules to a specific command and run a simple make command. You would not need to remember the commands and the flags or environment variables needed for executing it.",[53,255,257],{"id":256},"basic-makefile","Basic Makefile",[86,259,261],{"className":177,"code":260,"language":179,"meta":91,"style":91},"APP_EXECUTABLE=hello-world\n\nbuild:\n GOARCH=amd64 GOOS=darwin go build -o ${APP_EXECUTABLE}-darwin main.go\n GOARCH=amd64 GOOS=linux go build -o ${APP_EXECUTABLE}-linux main.go\n GOARCH=amd64 GOOS=windows go build -o ${APP_EXECUTABLE}-windows main.go\n\nrun: build\n .\u002F${APP_EXECUTABLE}\n\nclean:\n go clean\n rm ${APP_EXECUTABLE}-darwin\n rm ${APP_EXECUTABLE}-linux\n rm ${APP_EXECUTABLE}-windows\n",[39,262,263,273,277,282,311,339,367,371,380,389,394,400,408,419,429],{"__ignoreMap":91},[95,264,265,268,270],{"class":97,"line":98},[95,266,267],{"class":146},"APP_EXECUTABLE",[95,269,207],{"class":101},[95,271,272],{"class":122},"hello-world\n",[95,274,275],{"class":97,"line":109},[95,276,113],{"emptyLinePlaceholder":112},[95,278,279],{"class":97,"line":116},[95,280,281],{"class":105},"build:\n",[95,283,284,287,289,291,293,295,297,299,301,303,306,309],{"class":97,"line":132},[95,285,286],{"class":146}," GOARCH",[95,288,207],{"class":101},[95,290,210],{"class":122},[95,292,213],{"class":146},[95,294,207],{"class":101},[95,296,218],{"class":122},[95,298,221],{"class":105},[95,300,188],{"class":122},[95,302,227],{"class":226},[95,304,305],{"class":146}," ${APP_EXECUTABLE}",[95,307,308],{"class":122},"-darwin",[95,310,191],{"class":122},[95,312,313,315,317,319,321,323,326,328,330,332,334,337],{"class":97,"line":137},[95,314,286],{"class":146},[95,316,207],{"class":101},[95,318,210],{"class":122},[95,320,213],{"class":146},[95,322,207],{"class":101},[95,324,325],{"class":122},"linux",[95,327,221],{"class":105},[95,329,188],{"class":122},[95,331,227],{"class":226},[95,333,305],{"class":146},[95,335,336],{"class":122},"-linux",[95,338,191],{"class":122},[95,340,341,343,345,347,349,351,354,356,358,360,362,365],{"class":97,"line":150},[95,342,286],{"class":146},[95,344,207],{"class":101},[95,346,210],{"class":122},[95,348,213],{"class":146},[95,350,207],{"class":101},[95,352,353],{"class":122},"windows",[95,355,221],{"class":105},[95,357,188],{"class":122},[95,359,227],{"class":226},[95,361,305],{"class":146},[95,363,364],{"class":122},"-windows",[95,366,191],{"class":122},[95,368,369],{"class":97,"line":168},[95,370,113],{"emptyLinePlaceholder":112},[95,372,374,377],{"class":97,"line":373},8,[95,375,376],{"class":105},"run:",[95,378,379],{"class":122}," build\n",[95,381,383,386],{"class":97,"line":382},9,[95,384,385],{"class":105}," .\u002F$",[95,387,388],{"class":122},"{APP_EXECUTABLE}\n",[95,390,392],{"class":97,"line":391},10,[95,393,113],{"emptyLinePlaceholder":112},[95,395,397],{"class":97,"line":396},11,[95,398,399],{"class":105},"clean:\n",[95,401,403,405],{"class":97,"line":402},12,[95,404,221],{"class":105},[95,406,407],{"class":122}," clean\n",[95,409,411,414,416],{"class":97,"line":410},13,[95,412,413],{"class":105}," rm",[95,415,305],{"class":146},[95,417,418],{"class":122},"-darwin\n",[95,420,422,424,426],{"class":97,"line":421},14,[95,423,413],{"class":105},[95,425,305],{"class":146},[95,427,428],{"class":122},"-linux\n",[95,430,432,434,436],{"class":97,"line":431},15,[95,433,413],{"class":105},[95,435,305],{"class":146},[95,437,438],{"class":122},"-windows\n",[11,440,441],{},"Now with these simple commands, you can build and run the Go project:",[86,443,445],{"className":177,"code":444,"language":179,"meta":91,"style":91},"make run\n",[39,446,447],{"__ignoreMap":91},[95,448,449,451],{"class":97,"line":98},[95,450,62],{"class":105},[95,452,453],{"class":122}," run\n",[11,455,456],{},"Finally, you can run the clean command for the cleanup of binaries:",[86,458,460],{"className":177,"code":459,"language":179,"meta":91,"style":91},"make clean\n",[39,461,462],{"__ignoreMap":91},[95,463,464,466],{"class":97,"line":98},[95,465,62],{"class":105},[95,467,407],{"class":122},[11,469,470],{},"These commands are very handy and help to streamline the development process. Now all of your team members can use the same command. This reduces inconsistency and helps to eliminate project build-related errors that can arise with inconsistent manual commands.",[53,472,474],{"id":473},"ultimate-makefile","Ultimate Makefile",[11,476,477],{},"Our makefile has very basic commands right now. We can do a lot more while working with Makefile commands.",[86,479,483],{"className":480,"code":481,"language":482,"meta":91,"style":91},"language-makefile shiki shiki-themes github-light github-dark","export GO111MODULE=on\n# update app name. this is the name of binary\nAPP=myapp\nAPP_EXECUTABLE=\".\u002Fout\u002F$(APP)\"\nALL_PACKAGES=$(shell go list .\u002F... | grep -v \u002Fvendor)\nSHELL := \u002Fbin\u002Fbash # Use bash syntax\n\n# Optional if you need DB and migration commands\n# DB_HOST=$(shell cat config\u002Fapplication.yml | grep -m 1 -i HOST | cut -d \":\" -f2)\n# DB_NAME=$(shell cat config\u002Fapplication.yml | grep -w -i NAME  | cut -d \":\" -f2)\n# DB_USER=$(shell cat config\u002Fapplication.yml | grep -i USERNAME | cut -d \":\" -f2)\n\n# Optional colors to beautify output\nGREEN  := $(shell tput -Txterm setaf 2)\nYELLOW := $(shell tput -Txterm setaf 3)\nWHITE  := $(shell tput -Txterm setaf 7)\nCYAN   := $(shell tput -Txterm setaf 6)\nRESET  := $(shell tput -Txterm sgr0)\n\n## Quality\ncheck-quality: ## runs code quality checks\n    make lint\n    make fmt\n    make vet\n\n# Append || true below if blocking local developement\nlint: ## go linting. Update and use specific lint tool and options\n    golangci-lint run --enable-all\n\nvet: ## go vet\n    go vet .\u002F...\n\nfmt: ## runs go formatter\n    go fmt .\u002F...\n\ntidy: ## runs tidy to fix go.mod dependencies\n    go mod tidy\n\n## Test\ntest: ## runs tests and create generates coverage report\n    make tidy\n    make vendor\n    go test -v -timeout 10m .\u002F... -coverprofile=coverage.out -json > report.json\n\ncoverage: ## displays test coverage report in html mode\n    make test\n    go tool cover -html=coverage.out\n\n## Build\nbuild: ## build the go application\n    mkdir -p out\u002F\n    go build -o $(APP_EXECUTABLE)\n    @echo \"Build passed\"\n\nrun: ## runs the go binary. use additional options if required.\n    make build\n    chmod +x $(APP_EXECUTABLE)\n    $(APP_EXECUTABLE)\n\nclean: ## cleans binary and other generated files\n    go clean\n    rm -rf out\u002F\n    rm -f coverage*.out\n\nvendor: ## all packages required to support builds and tests in the \u002Fvendor directory\n    go mod vendor\n\n\nwire: ## for wiring dependencies (update if using some other DI tool)\n    wire .\u002F...\n\n# [Optional] mock generation via go generate\n# generate_mocks:\n#   go generate -x `go list .\u002F... | grep - v wire`\n\n# [Optional] Database commands\n## Database\nmigrate: build\n    ${APP_EXECUTABLE} migrate --config=config\u002Fapplication.test.yml\n\nrollback: build\n    ${APP_EXECUTABLE} migrate --config=config\u002Fapplication.test.yml\n\n.PHONY: all test build vendor\n## All\nall: ## runs setup, quality checks and builds\n    make check-quality\n    make test\n    make build\n\n.PHONY: help\n## Help\nhelp: ## Show this help.\n    @echo ''\n    @echo 'Usage:'\n    @echo '  ${YELLOW}make${RESET} ${GREEN}\u003Ctarget>${RESET}'\n    @echo ''\n    @echo 'Targets:'\n    @awk 'BEGIN {FS = \":.*?## \"} { \\\n        if (\u002F^[a-zA-Z_-]+:.*?##.*$$\u002F) {printf \"    ${YELLOW}%-20s${GREEN}%s${RESET}\\n\", $$1, $$2} \\\n        else if (\u002F^## .*$$\u002F) {printf \"  ${CYAN}%s${RESET}\\n\", substr($$1,4)} \\\n        }' $(MAKEFILE_LIST)\n","makefile",[39,484,485,490,495,500,505,510,515,519,524,529,534,539,543,548,553,558,564,570,576,581,587,593,599,605,611,616,622,628,634,639,645,651,656,662,668,673,679,685,690,696,702,708,714,720,725,731,737,743,748,754,760,766,772,778,783,789,795,801,807,812,818,824,830,836,841,847,853,858,863,869,875,880,886,892,898,903,909,915,921,927,932,938,943,948,954,960,966,972,977,982,987,993,999,1005,1011,1017,1023,1028,1034,1040,1046,1052],{"__ignoreMap":91},[95,486,487],{"class":97,"line":98},[95,488,489],{},"export GO111MODULE=on\n",[95,491,492],{"class":97,"line":109},[95,493,494],{},"# update app name. this is the name of binary\n",[95,496,497],{"class":97,"line":116},[95,498,499],{},"APP=myapp\n",[95,501,502],{"class":97,"line":132},[95,503,504],{},"APP_EXECUTABLE=\".\u002Fout\u002F$(APP)\"\n",[95,506,507],{"class":97,"line":137},[95,508,509],{},"ALL_PACKAGES=$(shell go list .\u002F... | grep -v \u002Fvendor)\n",[95,511,512],{"class":97,"line":150},[95,513,514],{},"SHELL := \u002Fbin\u002Fbash # Use bash syntax\n",[95,516,517],{"class":97,"line":168},[95,518,113],{"emptyLinePlaceholder":112},[95,520,521],{"class":97,"line":373},[95,522,523],{},"# Optional if you need DB and migration commands\n",[95,525,526],{"class":97,"line":382},[95,527,528],{},"# DB_HOST=$(shell cat config\u002Fapplication.yml | grep -m 1 -i HOST | cut -d \":\" -f2)\n",[95,530,531],{"class":97,"line":391},[95,532,533],{},"# DB_NAME=$(shell cat config\u002Fapplication.yml | grep -w -i NAME  | cut -d \":\" -f2)\n",[95,535,536],{"class":97,"line":396},[95,537,538],{},"# DB_USER=$(shell cat config\u002Fapplication.yml | grep -i USERNAME | cut -d \":\" -f2)\n",[95,540,541],{"class":97,"line":402},[95,542,113],{"emptyLinePlaceholder":112},[95,544,545],{"class":97,"line":410},[95,546,547],{},"# Optional colors to beautify output\n",[95,549,550],{"class":97,"line":421},[95,551,552],{},"GREEN  := $(shell tput -Txterm setaf 2)\n",[95,554,555],{"class":97,"line":431},[95,556,557],{},"YELLOW := $(shell tput -Txterm setaf 3)\n",[95,559,561],{"class":97,"line":560},16,[95,562,563],{},"WHITE  := $(shell tput -Txterm setaf 7)\n",[95,565,567],{"class":97,"line":566},17,[95,568,569],{},"CYAN   := $(shell tput -Txterm setaf 6)\n",[95,571,573],{"class":97,"line":572},18,[95,574,575],{},"RESET  := $(shell tput -Txterm sgr0)\n",[95,577,579],{"class":97,"line":578},19,[95,580,113],{"emptyLinePlaceholder":112},[95,582,584],{"class":97,"line":583},20,[95,585,586],{},"## Quality\n",[95,588,590],{"class":97,"line":589},21,[95,591,592],{},"check-quality: ## runs code quality checks\n",[95,594,596],{"class":97,"line":595},22,[95,597,598],{},"    make lint\n",[95,600,602],{"class":97,"line":601},23,[95,603,604],{},"    make fmt\n",[95,606,608],{"class":97,"line":607},24,[95,609,610],{},"    make vet\n",[95,612,614],{"class":97,"line":613},25,[95,615,113],{"emptyLinePlaceholder":112},[95,617,619],{"class":97,"line":618},26,[95,620,621],{},"# Append || true below if blocking local developement\n",[95,623,625],{"class":97,"line":624},27,[95,626,627],{},"lint: ## go linting. Update and use specific lint tool and options\n",[95,629,631],{"class":97,"line":630},28,[95,632,633],{},"    golangci-lint run --enable-all\n",[95,635,637],{"class":97,"line":636},29,[95,638,113],{"emptyLinePlaceholder":112},[95,640,642],{"class":97,"line":641},30,[95,643,644],{},"vet: ## go vet\n",[95,646,648],{"class":97,"line":647},31,[95,649,650],{},"    go vet .\u002F...\n",[95,652,654],{"class":97,"line":653},32,[95,655,113],{"emptyLinePlaceholder":112},[95,657,659],{"class":97,"line":658},33,[95,660,661],{},"fmt: ## runs go formatter\n",[95,663,665],{"class":97,"line":664},34,[95,666,667],{},"    go fmt .\u002F...\n",[95,669,671],{"class":97,"line":670},35,[95,672,113],{"emptyLinePlaceholder":112},[95,674,676],{"class":97,"line":675},36,[95,677,678],{},"tidy: ## runs tidy to fix go.mod dependencies\n",[95,680,682],{"class":97,"line":681},37,[95,683,684],{},"    go mod tidy\n",[95,686,688],{"class":97,"line":687},38,[95,689,113],{"emptyLinePlaceholder":112},[95,691,693],{"class":97,"line":692},39,[95,694,695],{},"## Test\n",[95,697,699],{"class":97,"line":698},40,[95,700,701],{},"test: ## runs tests and create generates coverage report\n",[95,703,705],{"class":97,"line":704},41,[95,706,707],{},"    make tidy\n",[95,709,711],{"class":97,"line":710},42,[95,712,713],{},"    make vendor\n",[95,715,717],{"class":97,"line":716},43,[95,718,719],{},"    go test -v -timeout 10m .\u002F... -coverprofile=coverage.out -json > report.json\n",[95,721,723],{"class":97,"line":722},44,[95,724,113],{"emptyLinePlaceholder":112},[95,726,728],{"class":97,"line":727},45,[95,729,730],{},"coverage: ## displays test coverage report in html mode\n",[95,732,734],{"class":97,"line":733},46,[95,735,736],{},"    make test\n",[95,738,740],{"class":97,"line":739},47,[95,741,742],{},"    go tool cover -html=coverage.out\n",[95,744,746],{"class":97,"line":745},48,[95,747,113],{"emptyLinePlaceholder":112},[95,749,751],{"class":97,"line":750},49,[95,752,753],{},"## Build\n",[95,755,757],{"class":97,"line":756},50,[95,758,759],{},"build: ## build the go application\n",[95,761,763],{"class":97,"line":762},51,[95,764,765],{},"    mkdir -p out\u002F\n",[95,767,769],{"class":97,"line":768},52,[95,770,771],{},"    go build -o $(APP_EXECUTABLE)\n",[95,773,775],{"class":97,"line":774},53,[95,776,777],{},"    @echo \"Build passed\"\n",[95,779,781],{"class":97,"line":780},54,[95,782,113],{"emptyLinePlaceholder":112},[95,784,786],{"class":97,"line":785},55,[95,787,788],{},"run: ## runs the go binary. use additional options if required.\n",[95,790,792],{"class":97,"line":791},56,[95,793,794],{},"    make build\n",[95,796,798],{"class":97,"line":797},57,[95,799,800],{},"    chmod +x $(APP_EXECUTABLE)\n",[95,802,804],{"class":97,"line":803},58,[95,805,806],{},"    $(APP_EXECUTABLE)\n",[95,808,810],{"class":97,"line":809},59,[95,811,113],{"emptyLinePlaceholder":112},[95,813,815],{"class":97,"line":814},60,[95,816,817],{},"clean: ## cleans binary and other generated files\n",[95,819,821],{"class":97,"line":820},61,[95,822,823],{},"    go clean\n",[95,825,827],{"class":97,"line":826},62,[95,828,829],{},"    rm -rf out\u002F\n",[95,831,833],{"class":97,"line":832},63,[95,834,835],{},"    rm -f coverage*.out\n",[95,837,839],{"class":97,"line":838},64,[95,840,113],{"emptyLinePlaceholder":112},[95,842,844],{"class":97,"line":843},65,[95,845,846],{},"vendor: ## all packages required to support builds and tests in the \u002Fvendor directory\n",[95,848,850],{"class":97,"line":849},66,[95,851,852],{},"    go mod vendor\n",[95,854,856],{"class":97,"line":855},67,[95,857,113],{"emptyLinePlaceholder":112},[95,859,861],{"class":97,"line":860},68,[95,862,113],{"emptyLinePlaceholder":112},[95,864,866],{"class":97,"line":865},69,[95,867,868],{},"wire: ## for wiring dependencies (update if using some other DI tool)\n",[95,870,872],{"class":97,"line":871},70,[95,873,874],{},"    wire .\u002F...\n",[95,876,878],{"class":97,"line":877},71,[95,879,113],{"emptyLinePlaceholder":112},[95,881,883],{"class":97,"line":882},72,[95,884,885],{},"# [Optional] mock generation via go generate\n",[95,887,889],{"class":97,"line":888},73,[95,890,891],{},"# generate_mocks:\n",[95,893,895],{"class":97,"line":894},74,[95,896,897],{},"#   go generate -x `go list .\u002F... | grep - v wire`\n",[95,899,901],{"class":97,"line":900},75,[95,902,113],{"emptyLinePlaceholder":112},[95,904,906],{"class":97,"line":905},76,[95,907,908],{},"# [Optional] Database commands\n",[95,910,912],{"class":97,"line":911},77,[95,913,914],{},"## Database\n",[95,916,918],{"class":97,"line":917},78,[95,919,920],{},"migrate: build\n",[95,922,924],{"class":97,"line":923},79,[95,925,926],{},"    ${APP_EXECUTABLE} migrate --config=config\u002Fapplication.test.yml\n",[95,928,930],{"class":97,"line":929},80,[95,931,113],{"emptyLinePlaceholder":112},[95,933,935],{"class":97,"line":934},81,[95,936,937],{},"rollback: build\n",[95,939,941],{"class":97,"line":940},82,[95,942,926],{},[95,944,946],{"class":97,"line":945},83,[95,947,113],{"emptyLinePlaceholder":112},[95,949,951],{"class":97,"line":950},84,[95,952,953],{},".PHONY: all test build vendor\n",[95,955,957],{"class":97,"line":956},85,[95,958,959],{},"## All\n",[95,961,963],{"class":97,"line":962},86,[95,964,965],{},"all: ## runs setup, quality checks and builds\n",[95,967,969],{"class":97,"line":968},87,[95,970,971],{},"    make check-quality\n",[95,973,975],{"class":97,"line":974},88,[95,976,736],{},[95,978,980],{"class":97,"line":979},89,[95,981,794],{},[95,983,985],{"class":97,"line":984},90,[95,986,113],{"emptyLinePlaceholder":112},[95,988,990],{"class":97,"line":989},91,[95,991,992],{},".PHONY: help\n",[95,994,996],{"class":97,"line":995},92,[95,997,998],{},"## Help\n",[95,1000,1002],{"class":97,"line":1001},93,[95,1003,1004],{},"help: ## Show this help.\n",[95,1006,1008],{"class":97,"line":1007},94,[95,1009,1010],{},"    @echo ''\n",[95,1012,1014],{"class":97,"line":1013},95,[95,1015,1016],{},"    @echo 'Usage:'\n",[95,1018,1020],{"class":97,"line":1019},96,[95,1021,1022],{},"    @echo '  ${YELLOW}make${RESET} ${GREEN}\u003Ctarget>${RESET}'\n",[95,1024,1026],{"class":97,"line":1025},97,[95,1027,1010],{},[95,1029,1031],{"class":97,"line":1030},98,[95,1032,1033],{},"    @echo 'Targets:'\n",[95,1035,1037],{"class":97,"line":1036},99,[95,1038,1039],{},"    @awk 'BEGIN {FS = \":.*?## \"} { \\\n",[95,1041,1043],{"class":97,"line":1042},100,[95,1044,1045],{},"        if (\u002F^[a-zA-Z_-]+:.*?##.*$$\u002F) {printf \"    ${YELLOW}%-20s${GREEN}%s${RESET}\\n\", $$1, $$2} \\\n",[95,1047,1049],{"class":97,"line":1048},101,[95,1050,1051],{},"        else if (\u002F^## .*$$\u002F) {printf \"  ${CYAN}%s${RESET}\\n\", substr($$1,4)} \\\n",[95,1053,1055],{"class":97,"line":1054},102,[95,1056,1057],{},"        }' $(MAKEFILE_LIST)\n",[50,1059],{},[53,1061,1063],{"id":1062},"benefits-of-using-makefiles","Benefits of Using Makefiles",[1065,1066,1067,1074,1080],"ol",{},[1068,1069,1070,1073],"li",{},[15,1071,1072],{},"Automation",": Makefiles allow you to automate tedious and repetitive tasks, such as compiling code, running tests, and cleaning up build artifacts. This automation not only saves time but also reduces the risk of human error, ensuring that these tasks are performed consistently every time. With a Makefile, you can simply run the ‘make’ command to build your entire project without having to remember or type out lengthy compilation commands.",[1068,1075,1076,1079],{},[15,1077,1078],{},"Consistency",": Makefiles ensure that your project is built consistently, regardless of who is building it or on which system it is being built. It ensures common standards are followed across projects. Makefiles also provide a standardized way to define and execute build processes, which helps maintain consistency across different development and production environments.",[1068,1081,1082,1085],{},[15,1083,1084],{},"Customization",": Makefiles can be customized to include various build configurations, such as debug and release builds, and to support cross-compilation for different platforms.",[47,1087,1088,1090,1094,1118,1135,1144,1146,1149,1158],{},[50,1089],{},[68,1091,1093],{"id":1092},"books-to-learn-golang","Books to learn Golang",[1095,1096,1097,1104,1111],"ul",{},[1068,1098,1099],{},[27,1100,1103],{"href":1101,"rel":1102},"https:\u002F\u002Famzn.to\u002F3fYLCqz",[31],"Go Programming Language",[1068,1105,1106],{},[27,1107,1110],{"href":1108,"rel":1109},"https:\u002F\u002Famzn.to\u002F3s7fWS3",[31],"Learning Go",[1068,1112,1113],{},[27,1114,1117],{"href":1115,"rel":1116},"https:\u002F\u002Famzn.to\u002F3t6PM37",[31],"Go in Action",[1119,1120,1121],"blockquote",{},[11,1122,1123,1124,18,1129,1134],{},"Do explore articles on ",[27,1125,1128],{"href":1126,"rel":1127},"https:\u002F\u002Fwww.mohitkhare.com\u002Fcategories\u002Fgolang",[31],"Golang",[27,1130,1133],{"href":1131,"rel":1132},"https:\u002F\u002Fwww.mohitkhare.com\u002Fcategories\u002Fsystem%20design",[31],"System Design",". You'll learn something new 💡",[11,1136,1137,1138,1143],{},"Liked the article? Consider ",[27,1139,1142],{"href":1140,"rel":1141},"https:\u002F\u002Fwww.buymeacoffee.com\u002FchHAzigTb",[31],"supporting me"," ☕️",[50,1145],{},[11,1147,1148],{},"I hope you learned something new. Feel free to suggest improvements ✔️",[11,1150,1151,1152,1157],{},"Follow me on ",[27,1153,1156],{"href":1154,"rel":1155},"https:\u002F\u002Ftwitter.com\u002Fmkfeuhrer",[31],"Twitter"," for updates and resources. Let's connect!",[11,1159,1160],{},[15,1161,1162],{},"Keep exploring 🔎 Keep learning 🚀",[1164,1165,1166],"style",{},"html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}",{"title":91,"searchDepth":109,"depth":109,"links":1168},[1169,1172,1173,1174],{"id":55,"depth":109,"text":56,"children":1170},[1171],{"id":70,"depth":116,"text":71},{"id":256,"depth":109,"text":257},{"id":473,"depth":109,"text":474},{"id":1062,"depth":109,"text":1063},[1128,1176],"Programming","Boost your productivity and save time with ultimate Makefile for Golang projects.",false,"md","blog\u002Fgo-makefile\u002Fgo-makefile-card.webp","golang makefile, makefile in go, golang",{},"go-makefile","\u002Fblog\u002Fgo-makefile",{"title":5,"description":1177},"blog\u002Fgo-makefile","2024-06-10","kd5MlBw0CTYfkB3DqyeZPQxQ7vnxnH9sGrl1kdZ-fho",[1190,1197,1203,1211,1220,1226,1233,1240,1246,1252,1258,1264,1270,1280,1286,1293,1300,1307,1313,1320,1326,1332,1338,1344,1350,1356,1358,1364,1371,1378,1384,1390,1396,1402,1408,1414,1420,1426,1432,1438,1444,1450,1456,1463,1469,1475,1481,1488,1494,1500,1507,1514,1520,1527,1533,1540,1546,1553,1559,1565,1571,1577,1583,1589,1595,1601,1607,1613,1619,1625,1632,1638,1645,1651,1657,1663,1670,1676],{"path":1191,"title":1192,"description":1193,"categories":1194,"draft":112,"year":1196,"series":6},"\u002Fblog\u002Fai-assisted-workstation","Building an AI-Assisted Personal Workstation","How I built a personal AI workstation: markdown knowledge base, portable agent skills, handoff-driven sessions. What worked, what broke, what I would change.",[1195,1176],"Productivity","2026-08-26",{"path":1198,"title":1199,"description":1200,"categories":1201,"draft":1178,"year":1202,"series":6},"\u002Fblog\u002Faws-s3-golang","Uploading images to AWS S3 in Golang","In this tutorial I cover how to upload, fetch and manage other operations for objects on AWS S3 in Golang",[1128,1176],"2020-01-12",{"path":1204,"title":1205,"description":1206,"categories":1207,"draft":1178,"year":1210,"series":6},"\u002Fblog\u002Fbooks-for-engineers","Best Books for Software Engineers","Best Books to help you build you software engineering career - ranging from fundamentats, interview prep to productivity.",[1208,1209],"Books","Life","2021-12-26",{"path":1212,"title":1213,"description":1214,"categories":1215,"draft":1178,"year":1219,"series":6},"\u002Fblog\u002Fbuilding-acrons","Building Acrons 🚀","Building Acrons, a one-stop tool to decode everyday acronyms like DIY, FOMO, and BRB without losing your flow.",[1216,1217,1218],"Side Projects","Web","Tools","2020-05-26",{"path":1221,"title":1222,"description":1223,"categories":1224,"draft":1178,"year":1225,"series":6},"\u002Fblog\u002Fcap-theorem","CAP Theorem Explained","Learn the concept and misconceptions around popular CAP theorem in system design.",[1133,1176],"2021-07-26",{"path":1227,"title":1228,"description":1229,"categories":1230,"draft":1178,"year":1232,"series":6},"\u002Fblog\u002Fcode-reviews","Code Review Checklist","Why code reviews matter, and best practices that catch bugs early and keep code quality high before merge.",[1231],"Engineering Principles","2020-07-20",{"path":1234,"title":1235,"description":1236,"categories":1237,"draft":1178,"year":1239,"series":6},"\u002Fblog\u002Fdark-mode","Add Dark mode to websites","Dark mode is ❤️️ Add it to your websites with little CSS and JS",[1238,1217],"Javascript","2020-07-04",{"path":1241,"title":1242,"description":1243,"categories":1244,"draft":1178,"year":1245,"series":6},"\u002Fblog\u002Fdate-time-golang","Working with Date and Time in Go","Learn how to use time in Golang - Multiple formats, locations and using date.",[1128,1176],"2020-10-09",{"path":1247,"title":1248,"description":1249,"categories":1250,"draft":1178,"year":1251,"series":6},"\u002Fblog\u002Fdefer-in-golang","Understanding Defer In Golang","Learn about defer keyword in golang and how it can help you avoid panics due to bugs.",[1128,1176],"2021-05-05",{"path":1253,"title":1254,"description":1255,"categories":1256,"draft":1178,"year":1257,"series":6},"\u002Fblog\u002Fenums-golang","Implementing Enums in Golang","Enums are a way to defined set of constant values. Learn how to implement enums in Go using iota with examples.",[1128,1176],"2021-12-18",{"path":1259,"title":1260,"description":1261,"categories":1262,"draft":1178,"year":1263,"series":6},"\u002Fblog\u002Fenvironment-variable-golang","Guide to Environment variables in Go","Learn what are environment variables and how to use them in Go",[1128,1176],"2020-08-14",{"path":1265,"title":1266,"description":1267,"categories":1268,"draft":1178,"year":1269,"series":6},"\u002Fblog\u002Ferror-handling-golang","Handle errors the right way — Golang","How to handle errors in golang to make your life easy",[1128,1176],"2020-01-30",{"path":1271,"title":1272,"description":1273,"categories":1274,"draft":112,"year":1277,"series":1278},"\u002Fblog\u002Ffile-attack-document-macros","File Attack Deep Dives, Part 3: Document Macros","How malicious VBA hides in vbaProject.bin, which AutoOpen entry points fire it, and the sandbox signals that catch it.",[1275,1276],"Security","Systems","2026-09-17",{"name":1279,"part":116},"File Attack Deep Dives",{"path":1281,"title":1282,"description":1283,"categories":1284,"draft":1178,"year":1196,"series":1285},"\u002Fblog\u002Ffile-attack-field-guide","How File-Based Attacks Land: A Detection Engineer's Field Guide","A practical taxonomy of how malware and phishing arrive as files, why classic controls miss them, and how detection should think.",[1275,1276],{"name":1279,"part":98},{"path":1287,"title":1288,"description":1289,"categories":1290,"draft":112,"year":1291,"series":1292},"\u002Fblog\u002Ffile-attack-html-smuggling","File Attack Deep Dives, Part 2: HTML Smuggling","How attackers assemble malware inside the browser with Blob URLs, and the URL and script tells that catch it.",[1275,1276],"2026-09-10",{"name":1279,"part":109},{"path":1294,"title":1295,"description":1296,"categories":1297,"draft":112,"year":1298,"series":1299},"\u002Fblog\u002Ffile-attack-lnk-iso","File Attack Deep Dives, Part 5: LNK and ISO Smuggling","How ISO containers and weaponized shortcuts bypass Mark of the Web, and the forensic fields that catch them.",[1275,1276],"2026-10-01",{"name":1279,"part":137},{"path":1301,"title":1302,"description":1303,"categories":1304,"draft":112,"year":1305,"series":1306},"\u002Fblog\u002Ffile-attack-pdf-url-actions","File Attack Deep Dives, Part 4: PDF URL Actions","How PDF OpenAction, Launch, and URI actions turn opening a document into a phishing click, and the action audit that catches them.",[1275,1276],"2026-09-24",{"name":1279,"part":132},{"path":1308,"title":1309,"description":1310,"categories":1311,"draft":1178,"year":1312,"series":6},"\u002Fblog\u002Ffile-upload-golang","Uploading Files in Golang with Multipart Request","Learn how to upload files from your client to server as a multipart request in Golang.",[1128,1176],"2021-03-13",{"path":1314,"title":1315,"description":1316,"categories":1317,"draft":1178,"year":1319,"series":6},"\u002Fblog\u002Fgit-branch","Git Branch 101","Branching is a new path of development that makes it a lot easier to build features. Learn why and how to use branching in git.",[1318,1176],"Git","2022-03-20",{"path":1321,"title":1322,"description":1323,"categories":1324,"draft":1178,"year":1325,"series":6},"\u002Fblog\u002Fgit-pull-request-template","Guide to Pull Request Templates","Improve collaboration and code reviews with pull request templates. Blog include PR template and how to create one on github\u002Fgitlab",[1318,1176],"2023-08-24",{"path":1327,"title":1328,"description":1329,"categories":1330,"draft":1178,"year":1331,"series":6},"\u002Fblog\u002Fgit-remove-sensitive-info","Securing Git: Remove Sensitive Information","Protect your code from security breaches by using BFG tool to remove sensitive information from Git history. Learn how to do it in this comprehensive guide.",[1318,1176],"2023-10-16",{"path":1333,"title":1334,"description":1335,"categories":1336,"draft":1178,"year":1337,"series":6},"\u002Fblog\u002Fgit-tags-explained","Git tags : Explained","What Git tags are, why and when to use them, and how to start tagging releases in your own projects.",[1318,1176],"2020-06-18",{"path":1339,"title":1340,"description":1341,"categories":1342,"draft":1178,"year":1343,"series":6},"\u002Fblog\u002Fgo-dependency-injection","Dependency Injection in Go using Wire","Learn about dependency injection, its benefits and how to implement it in Go services using wire",[1128,1176],"2022-11-26",{"path":1345,"title":1346,"description":1347,"categories":1348,"draft":1178,"year":1349,"series":6},"\u002Fblog\u002Fgo-generics","Introduction to Generics in Go","Learn about generics in Golang, it's benefits and how to implement it in applications.",[1128,1176],"2022-11-27",{"path":1351,"title":1352,"description":1353,"categories":1354,"draft":1178,"year":1355,"series":6},"\u002Fblog\u002Fgo-in-memory-cache","Building In-Memory Cache in Go","Learn about in-memory caching in Golang, it's benefits and how to implement it with and without generics with a TTL(expiry).",[1128,1176],"2024-03-28",{"path":1184,"title":5,"description":1177,"categories":1357,"draft":1178,"year":1187,"series":6},[1128,1176],{"path":1359,"title":1360,"description":1361,"categories":1362,"draft":1178,"year":1363,"series":6},"\u002Fblog\u002Fgo-middleware","Mastering Middlewares in Golang","Learn about middlewares, their use cases and how to implement them in Golang applications",[1128,1176],"2022-03-13",{"path":1365,"title":1366,"description":1367,"categories":1368,"draft":1178,"year":1370,"series":6},"\u002Fblog\u002Fgo-naming-conventions","Naming Conventions in Golang","Why naming conventions matter in Go, with best practices and practical examples for clear, readable, maintainable code.",[1128,1176,1369],"Code Quality","2023-05-19",{"path":1372,"title":1373,"description":1374,"categories":1375,"draft":1178,"year":1377,"series":6},"\u002Fblog\u002Fgo-with-redis","Go with Redis","A practical introduction to using Redis with Golang to make your applications faster with in-memory data storage.",[1128,1376,1176],"Database","2020-05-03",{"path":1379,"title":1380,"description":1381,"categories":1382,"draft":1178,"year":1383,"series":6},"\u002Fblog\u002Fgolang-maps","Learn Maps in Golang (with examples)","A complete guide to maps in Golang: creating maps, adding and removing items, iterating, and how map equality works.",[1128,1176],"2020-09-10",{"path":1385,"title":1386,"description":1387,"categories":1388,"draft":1178,"year":1389,"series":6},"\u002Fblog\u002Fguide-to-cdn","Guide to Content Delivery Network","CDN is one of the backbone of modern world internet infrastructure. Learn about Content Delivery Network, it's working, types and benefits.",[1133,1176],"2022-01-23",{"path":1391,"title":1392,"description":1393,"categories":1394,"draft":1178,"year":1395,"series":6},"\u002Fblog\u002Fguide-to-rule-engines","Guide to Rule Engines","Rule Engines help in solving changing business requirements with ease. Learn all about Rule engines, it's working, benefits and how to implement one in Golang",[1128,1176],"2022-09-12",{"path":1397,"title":1398,"description":1399,"categories":1400,"draft":1178,"year":1401,"series":6},"\u002Fblog\u002Fhexagonal-architecture","Guide to Hexagonal Architecture","Learn how to design efficient application with hexagonal architecture with practical example",[1133,1176],"2020-12-13",{"path":1403,"title":1404,"description":1405,"categories":1406,"draft":1178,"year":1407,"series":6},"\u002Fblog\u002Fhttp-status-codes","Learn HTTP Status Codes","A tour of HTTP response status codes, what each class means, and when to use which code in your applications.",[1217,1176],"2020-07-30",{"path":1409,"title":1410,"description":1411,"categories":1412,"draft":1178,"year":1413,"series":6},"\u002Fblog\u002Fintroduction-to-goroutines","Introduction to Goroutines","Understand the basics of concurrency and learn how to work with Goroutines in golang.",[1128,1176],"2021-04-10",{"path":1415,"title":1416,"description":1417,"categories":1418,"draft":1178,"year":1419,"series":6},"\u002Fblog\u002Fjson-in-postgres-with-golang","Storing JSON in Postgres with Golang","Learn how to store JSON objects in Postgres and how to implement it in Golang.",[1176,1376,1128],"2021-02-13",{"path":1421,"title":1422,"description":1423,"categories":1424,"draft":1178,"year":1425,"series":6},"\u002Fblog\u002Fjson-web-token","Complete Guide to JWT","JSON Web Tokens are a very compact way to carry information. Learn about JWTs in depth, from its structure to when to use it.",[1176,1217],"2021-11-20",{"path":1427,"title":1428,"description":1429,"categories":1430,"draft":1178,"year":1431,"series":6},"\u002Fblog\u002Flearn-to-say-no","Learning to say No","Learn why it's important to say 'NO'. How it helps in increasing productivity and explore strategies for saying No",[1209,1208],"2022-04-09",{"path":1433,"title":1434,"description":1435,"categories":1436,"draft":1178,"year":1437,"series":6},"\u002Fblog\u002Flearn-unlearn-relearn","Learn - Unlearn - Relearn","Unlearning things to learn new is the way to grow. Discover how to do that!",[1195,1209],"2020-09-25",{"path":1439,"title":1440,"description":1441,"categories":1442,"draft":1178,"year":1443,"series":6},"\u002Fblog\u002Flinting-in-golang","Introduction to Linting in Go","Introduction to improving code quality using linting. Learn how to add linting in your Go projects.",[1128,1176],"2021-07-07",{"path":1445,"title":1446,"description":1447,"categories":1448,"draft":1178,"year":1449,"series":6},"\u002Fblog\u002Fload-balancing","Load Balancing 101","Complete guide on load balancers explaining the internal working and how does it help in making applications efficient.",[1133,1176],"2021-05-29",{"path":1451,"title":1452,"description":1453,"categories":1454,"draft":1178,"year":1455,"series":6},"\u002Fblog\u002Fmaking-decisions-the-right-way","Making Decisions: The right way","Decisions are hard! Learn how to make the right decisions always",[1195,1209],"2020-06-07",{"path":1457,"title":1458,"description":1459,"categories":1460,"draft":1178,"year":1462,"series":6},"\u002Fblog\u002Fmanage-logs-with-logrotate","Using Logrotate to manage logs","Learn how to use logrotate system utility to manage logs with example",[1461,1176],"Linux","2020-09-08",{"path":1464,"title":1465,"description":1466,"categories":1467,"draft":1178,"year":1468,"series":6},"\u002Fblog\u002Fmarshal-structs-golang","Marshal structs the right way: Golang","Why Golang marshals empty structs into your JSON instead of null, and how to marshal structs the right way.",[1128,1176],"2020-03-31",{"path":1470,"title":1471,"description":1472,"categories":1473,"draft":1178,"year":1474,"series":6},"\u002Fblog\u002Fnotes-almanack-naval","Book Notes : Almanack of Naval Ravikant","My notes\u002Fhighlights from Almanack of Naval Ravikant book by Eric Jorgenson",[1208,1209],"2020-10-17",{"path":1476,"title":1477,"description":1478,"categories":1479,"draft":1178,"year":1480,"series":6},"\u002Fblog\u002Fnotes-anything-you-want","Book Notes : Anything you want","My notes\u002Fhighlights from Anything you want book by Derek Sivers",[1208,1209],"2021-09-25",{"path":1482,"title":1483,"description":1484,"categories":1485,"draft":1178,"year":1487,"series":6},"\u002Fblog\u002Fnotes-getting-real","Book Notes : Getting Real","My notes and highlights from Getting Real by Jason Fried and David Heinemeier Hansson on building web applications.",[1208,1486],"Startups","2020-11-03",{"path":1489,"title":1490,"description":1491,"categories":1492,"draft":1178,"year":1493,"series":6},"\u002Fblog\u002Fnotes-hell-yeah-or-no","Book Notes : Hell Yeah or No","My notes\u002Fhighlights from Hell Yeah or No book by Derek Sivers",[1208,1209],"2020-09-16",{"path":1495,"title":1496,"description":1497,"categories":1498,"draft":1178,"year":1499,"series":6},"\u002Fblog\u002Fnotes-how-to-be-a-capitalist","Book Notes : How to Be a Capitalist Without Any Capital","My notes\u002Fhighlights from How to Be a Capitalist Without Any Capital by Nathan Latka",[1208,1486],"2020-01-07",{"path":1501,"title":1502,"description":1503,"categories":1504,"draft":1178,"year":1506,"series":6},"\u002Fblog\u002Fnotes-lean-b2b","Book Notes : Lean B2B","My notes and highlights from Lean B2B by Étienne Garbugli on assessing markets, building MVPs, and selling to businesses.",[1208,1505],"Entrepreneurship","2022-07-02",{"path":1508,"title":1509,"description":1510,"categories":1511,"draft":1178,"year":1513,"series":6},"\u002Fblog\u002Fnotes-lets-talk-money","Book Notes : Let's Talk Money","My notes and highlights from Let's Talk Money by Monica Halan on managing personal finances and savings.",[1208,1512],"Personal Finance","2021-02-26",{"path":1515,"title":1516,"description":1517,"categories":1518,"draft":1178,"year":1519,"series":6},"\u002Fblog\u002Fnotes-obviously-awesome","Book Notes : Obviously Awesome","My notes and highlights from Obviously Awesome by April Dunford on product positioning and marketing strategy.",[1208,1486],"2020-04-26",{"path":1521,"title":1522,"description":1523,"categories":1524,"draft":1178,"year":1526,"series":6},"\u002Fblog\u002Fnotes-refactoring-ui","Book Notes: Refactoring UI","My notes and highlights from Refactoring UI by Adam Wathan and Steve Schoger, full of practical design tips for engineers.",[1208,1525],"Design","2020-05-09",{"path":1528,"title":1529,"description":1530,"categories":1531,"draft":1178,"year":1532,"series":6},"\u002Fblog\u002Fnotes-rework","Book Notes: Rework","My notes and highlights from Rework by Jason Fried and David Heinemeier Hansson on a better way to succeed in business.",[1208,1486],"2021-04-14",{"path":1534,"title":1535,"description":1536,"categories":1537,"draft":1178,"year":1539,"series":6},"\u002Fblog\u002Fone-on-one-meetings","Guide to Effective 1:1 Meetings","One on One meetings are important for your personal & professional growth. Learn how to master 1:1s with your manager and peers.",[1538,1195],"Career","2023-03-05",{"path":1541,"title":1542,"description":1543,"categories":1544,"draft":1178,"year":1545,"series":6},"\u002Fblog\u002Fpersonal-okrs","Personal OKRs for Success","Why one should set personal OKRs and how to achieve success with them",[1195,1209],"2020-06-27",{"path":1547,"title":1548,"description":1549,"categories":1550,"draft":1178,"year":1552,"series":6},"\u002Fblog\u002Fpoker-tips","Poker Tips: Johns Hopkins Poker Class","Notes from Johns Hopkins poker course. This guide will help you improve in Poker and win some large pots.",[1209,1551],"Poker","2020-06-13",{"path":1554,"title":1555,"description":1556,"categories":1557,"draft":1178,"year":1558,"series":6},"\u002Fblog\u002Fpomodoro","Get work done: The Pomo Way","Learn to focus and get productive by following the Pomodoro Technique",[1195],"2020-10-24",{"path":1560,"title":1561,"description":1562,"categories":1563,"draft":1178,"year":1564,"series":6},"\u002Fblog\u002Fpostgres-constraints","Postgres Constraints","Constraints are line of defense for database. Explore various types of constrainsts in postgres",[1376,1176],"2020-11-07",{"path":1566,"title":1567,"description":1568,"categories":1569,"draft":1178,"year":1570,"series":6},"\u002Fblog\u002Fppf-explained","PPF Explained","Learn basics about Public Provident Fund and why you should invest",[1209,1512],"2020-12-24",{"path":1572,"title":1573,"description":1574,"categories":1575,"draft":1178,"year":1576,"series":6},"\u002Fblog\u002Fproductivity-chrome-extensions","Boost Productivity with Chrome Extensions","Utitizing chrome extensions to boost your productivity!",[1195,1218,1217],"2020-04-24",{"path":1578,"title":1579,"description":1580,"categories":1581,"draft":1178,"year":1582,"series":6},"\u002Fblog\u002Fproductivity-in-vscode","Improve your productivity with VS Code","Key VS Code features like the integrated terminal, shortcuts, and extensions that improved my everyday productivity.",[1195,1176],"2020-03-12",{"path":1584,"title":1585,"description":1586,"categories":1587,"draft":1178,"year":1588,"series":6},"\u002Fblog\u002Freading-101","Improving Reading 101","Why reading matters, how to build a reading habit, and what to read next - from my own journey into books.",[1208,1209],"2020-04-04",{"path":1590,"title":1591,"description":1592,"categories":1593,"draft":1178,"year":1594,"series":6},"\u002Fblog\u002Freverse-proxy","Understanding Reverse Proxy","Learn about reverse proxy, how it is different from forward proxy and explore advantages of using it in system design.",[1133,1176],"2021-10-03",{"path":1596,"title":1597,"description":1598,"categories":1599,"draft":1178,"year":1600,"series":6},"\u002Fblog\u002Frunning-periodic-background-task-golang","Running periodic background tasks in Golang","How to run periodic background tasks in Golang by combining cron-style scheduling with background execution.",[1128,1176],"2019-11-21",{"path":1602,"title":1603,"description":1604,"categories":1605,"draft":1178,"year":1606,"series":6},"\u002Fblog\u002Fsessions-in-golang","Sessions using Golang and Redis","How cookies and sessions work, and how to implement persistent login sessions in Golang using Redis.",[1128,1376,1176],"2020-02-25",{"path":1608,"title":1609,"description":1610,"categories":1611,"draft":1178,"year":1612,"series":6},"\u002Fblog\u002Fsolid-dry-kiss-yagni","Solid Dry Kiss Yagni","An introduction to the SOLID, DRY, KISS, and YAGNI principles and how they help you write cleaner, robust code.",[1231],"2020-07-17",{"path":1614,"title":1615,"description":1616,"categories":1617,"draft":1178,"year":1618,"series":6},"\u002Fblog\u002Fstack-in-golang","Implement Stack in Golang","Learn how to implement stack data structure in Golang (Full code)",[1128,1176],"2020-09-14",{"path":1620,"title":1621,"description":1622,"categories":1623,"draft":1178,"year":1624,"series":6},"\u002Fblog\u002Fstart-oss-today","Start your Open Source journey today","Start your OSS journey with intro to GIT. Participate in Hacktoberfest!",[1318,1176],"2020-09-19",{"path":1626,"title":1627,"description":1628,"categories":1629,"draft":1178,"year":1631,"series":6},"\u002Fblog\u002Fsticky-social-bar","Sticky social share component in HTML","Learn how to build a social media sharing component in HTML and add it to your website.",[1176,1630],"Frontend","2021-02-05",{"path":1633,"title":1634,"description":1635,"categories":1636,"draft":1178,"year":1637,"series":6},"\u002Fblog\u002Fterm-insurance","Term insurance Simplified","Everything you need to know before you buy a term insurance.",[1209,1512],"2020-11-29",{"path":1639,"title":1640,"description":1641,"categories":1642,"draft":1178,"year":1644,"series":6},"\u002Fblog\u002Fterminal-output-with-redirection","Handling terminal outputs with Redirection","Learn how to handle terminal outputs with Redirection and saving it to files",[1461,1643,1176],"Terminal","2020-09-06",{"path":1646,"title":1647,"description":1648,"categories":1649,"draft":1178,"year":1650,"series":6},"\u002Fblog\u002Fthink-and-grow-rich","Book Notes: Think and Grow Rich","My notes and highlights from Think and Grow Rich by Napoleon Hill, covering its process for building wealth.",[1208,1209],"2020-05-19",{"path":1652,"title":1653,"description":1654,"categories":1655,"draft":1178,"year":1656,"series":6},"\u002Fblog\u002Ftransactions-postgres-golang","Transactions on Postgres with Golang","Performing Postgres database operations in Golang with GORM, from basic queries to full transaction support.",[1128,1376,1176],"2020-03-18",{"path":1658,"title":1659,"description":1660,"categories":1661,"draft":1178,"year":1662,"series":6},"\u002Fblog\u002Fwaitgroups-in-golang","WaitGroups in Golang","Learn about WaitGroups in golang and how to use them to perform concurrent operations without blocking the main thread.",[1128,1176],"2022-05-31",{"path":1664,"title":1665,"description":1666,"categories":1667,"draft":1178,"year":1669,"series":6},"\u002Fblog\u002Fwhat-i-use","What I Use: Products and Softwares","List of what I use in my day to day life ranging from terminal, editors, softwares, devices to accessories",[1209,1668],"Tech","2024-06-01",{"path":1671,"title":1672,"description":1673,"categories":1674,"draft":1178,"year":1675,"series":6},"\u002Fblog\u002Fyear-in-review-2020","Year in Review: 2020","It's a wrap! 2020 was a crazy year, See how my year went!",[1209],"2020-12-31",{"path":1677,"title":1678,"description":1679,"categories":1680,"draft":1178,"year":1681,"series":6},"\u002Fblog\u002Fyear-in-review-2021","Year in Review: 2021","It's a wrap! 2021 was a mixed bag, full of ups and downs. Key Goal for 2022: Start now!",[1209],"2021-12-31",1788773187201]