Skip to content

Instantly share code, notes, and snippets.

View mutuadavid93's full-sized avatar
🎯
Focusing

David Mutua mutuadavid93

🎯
Focusing
  • Squad Africa
  • NAIROBI
View GitHub Profile
###################################
Normalization Reviewed
###################################
A. Ist Normal Form
==================
package main
import (
"database/sql"
"fmt"
_ "github.com/lib/pq"
)
// Reference :: https://pkg.go.dev/github.com/lib/pq?tab=doc
package main
import (
"fmt"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
)
type User struct {
// Static Types ::
// e.g. Structs can lead to a nightmare when initializing them
// if they are deeply embedded which translates to nesting.
// Instead use Structs plus Interfaces to decouple and reuse stuff.
//
//
package main
import "fmt"
@mutuadavid93
mutuadavid93 / linux_commands.md
Last active August 15, 2023 08:02
Linux Commands

######################################################

Linux Commands

######################################################

rsync

Transfer files between servers.