Skip to content
View icoder-new's full-sized avatar
:shipit:
Mr Gopher
:shipit:
Mr Gopher

Organizations

@stellify-org

Block or report icoder-new

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
icoder-new/README.md

Hi I'm Gadoev Ehson

package icoder-new

import "fmt"

type Programmer interface {
	Eat()
	Code()
	Sleep()
}

type Gopher struct {
	name string
}

func NewGopher(name string) *Gopher {
	return &Gopher{name: name}
}

func (g *Gopher) Eat() {
	fmt.Printf("%s is eating...\n", g.name)
}

func (g *Gopher) Code() {
	fmt.Printf("%s is coding...\n", g.name)
}

func (g *Gopher) Sleep() {
	fmt.Printf("%s is sleeping...\n", g.name)
}

func Run() {
	gopher := NewGopher("Ehson")
	var programmer Programmer = gopher
	programmer.Eat()
	programmer.Code()
	programmer.Sleep()
}

Languages & Tools

Postgres SQLite Heroku GitHub Goland Visual Studio Code HTML5 Python JavaScript Shell Script

BTW, I use windows

Top Languages

Pinned Loading

  1. Rita Rita Public

    Forked from ilyas-kalandar/Rita

    Just programming language, created fully from scratch for learning compilers.

    C++ 1

  2. antiDdos antiDdos Public

    Forked from shuhrat-shokirov/antiDdos

    copy

    Go 1

  3. goBomber goBomber Public

    goBomber is a simple SMS bombing tool written in Go.

    Go 3 1

  4. MoneyFlowX MoneyFlowX Public

    simple wallet in Golang using Gin and gORM

    Go 2

  5. KNOTE KNOTE Public

    A simple notepad written with Python and his library "tkinter"

    Python 3 2

  6. brainfuck brainfuck Public

    Simple interpreter brainfuck on Cpp! And bf2c (brainfuck to C converter) on C!

    C 1