package main
import (
"play.ground/profile"
)
func main() {
me := profile.NewBio("Cezar G.B")
stack := profile.NewStack(
[]string{"Go", "Elixir", "Java", "C", "Javascript"},
[]string{"Postgres", "Mysql", "SQLite", "MongoDB", "DynamoDB", "Cassandra"},
[]string{"RabbitMQ", "AWS", "Vue.js"},
[]string{"Docker", "Kubernetes", "Elm", "Haskell"},
)
_ = me
_ = stack
}
-- go.mod --
module play.ground
-- profile/profile.go --
package profile
type Bio struct {
Name string
}
type Stack struct {
languages []string
databases []string
misc []string
ongoing []string
}
func NewBio(name string) *Bio {
return &Bio{name}
}
func NewStack(languages, databases, misc, ongoing []string) *Stack {
return &Stack{languages, databases, misc, ongoing}
}
๐
Working from home
Popular repositories Loading
-
-
-
ListaPersonalizadaFireMonkey
ListaPersonalizadaFireMonkey PublicExemplo de como criar uma Lista com Retangulos, em Delphi firemonkey.
Pascal
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.