Skip to content

Instantly share code, notes, and snippets.

View maxwellgithinji's full-sized avatar

Charles Maxwel Githinji Waweru maxwellgithinji

View GitHub Profile
package main
import (
"errors"
"fmt"
"time"
)
type ErrFileNotFound struct {
Filename string
package main
import (
"context"
"fmt"
"runtime"
"time"
)
func main() {
package main
import (
"context"
"fmt"
"time"
)
func main() {
ctx := context.Background()
package main
import (
"context"
"fmt"
)
type key int
var userKey key = 0
// Given an array of integer numbers, we need to find
// maximum size of a subset such that sum of each pair
// of this subset is not divisible by K.
// Examples :
// Input : arr[] = [3, 7, 2, 9, 1]
// K = 3
// Output : 3
// Maximum size subset whose each pair sum
// is not divisible by K is [3, 7, 1] because,
//create a file `file-01.txt` in the same directory with some content to get started
package main
import (
"fmt"
"io"
"os"
)
func main() {
//NOte you can easily swap the storage for your database without changing much of the code
package main
import (
"fmt"
)
type user struct {
first string
}
// type *T
// The method set of the corresponding pointer type *T is the set of all methods declared with receiver *T or T (that is, it also contains the method set of T).
package main
import (
"fmt"
)
type Person struct {
// A type may have a method set associated with it. The method set of an interface type is its interface.
// type T
// The method set of any other type T consists of all methods declared with receiver type T.
package main
import (
"fmt"
)

Frontend Masters: React && Firebase (Version 2)

Contact Information

Prequisite Setup

  • A recent version of Node.js
  • npm install -g create-react-app