harish-datla / clean-code-golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clean-code-golang

Inspired from clean-code-javascript.

Table of Contents

  1. Introduction
  2. Variables

Variables

Use meaningful and pronounceable variable names

Bad:

yyyymmdstr := time.Now().UTC().Format("2006/05/21");

Good:

currentDate := time.Now().UTC().Format("2006/05/21");

⬆ back to top

About

License:MIT License