Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Cap. 12 – Funções – 4. Métodos
Play lesson

Aprenda Go 🇧🇷 - Cap. 12 – Funções – 4. Métodos

5.0 (2)
47 learners

What you'll learn

This course includes

  • 21.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

- Um método é uma função anexada a um tipo. - Quando se anexa uma função a um tipo, ela se torna um método desse tipo. - Pode-se anexar uma função a um tipo utilizando seu receiver. - Utilização: valor.método() - Exemplo: o tipo "pessoa" pode ter um método oibomdia() - Go Playground: https://play.golang.org/p/tQtoqUBpY5

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere