package main
import "fmt"
type Profile struct {
Name string
Role string
LanguageSpoken []string
}
func NewProfile(name string, role string, languageSpoken []string) *Profile {
return &Profile{
Name: name,
Role: role,
LanguageSpoken: languageSpoken,
}
}
func (se *Profile) SayHi() {
fmt.Println("Hi! I hope you find something interesting here!")
}
func main() {
me := NewProfile("Ahmad Faisal", "Software Engineer", []string{"id_ID", "en_US"})
me.SayHi()
}- LinkedIn: https://www.linkedin.com/in/ahmadmfaisal/
- Hackerrank: https://www.hackerrank.com/ahmad_faisalewy
- Instagram: https://www.instagram.com/fzl_22/


