No video

[Golang] Adapter | Adapter pattern in go | go Adapter pattern

  Рет қаралды 6,703

We Build Developers

We Build Developers

Күн бұрын

[Golang] Adapter Adapter pattern in go go Adapter pattern
This video contains information about Adapter design Pattern in Go:
1. What is golang Adapter Design Pattern ?
2. Why we use Adapter Design Pattern ?
3. How to implement Adapter Design Pattern in Go ?
GitHub:
github.com/Roh...
⭐ Tags ⭐
We Build Developers
Adapter Pattern in go
Golang Adapter pattern
design patterns
Design Patterns in Go
Go Design Patterns

Пікірлер: 20
@RSX-0806
@RSX-0806 10 ай бұрын
I was struggling to grasp the abstract idea of Adapter pattern, you really explained it very well. thank you
@webuilddevelopers
@webuilddevelopers 10 ай бұрын
Thank you this means a lot....
@jonesgabriel9337
@jonesgabriel9337 9 ай бұрын
Just landed on this playlist. this is a Gold mine !
@webuilddevelopers
@webuilddevelopers 6 ай бұрын
Glad to hear this
@Tyronekong
@Tyronekong 3 ай бұрын
As mentioned below, what is the benefit of creating an adaptor as opposed to creating another struct which implements the mobile interface and passing that into the client?
@Tyronekong
@Tyronekong 3 ай бұрын
type Mobile interface { chargeMobile() } type Client struct { } type Apple struct { } func (c *Client) charging(m Mobile) { m.chargeMobile() } type Android struct { } func (a *Apple) chargeMobile() { fmt.Println("charging apple mobile") } func (a *Android) chargeMobile() { fmt.Println("charging android mobile") } client := &Client{} apple := &Apple{} android := &Android{} client.charging(apple) client.charging(android)
@anujjain9273
@anujjain9273 9 ай бұрын
you can also add notes for pro's and con's or articles related to it . Also explanation was nice , watched 7-8 videos of this playlist , looking forward to finish the playlist
@webuilddevelopers
@webuilddevelopers 6 ай бұрын
Thank you
@Okotherapy
@Okotherapy 10 ай бұрын
Thank you, it still helps people)
@kirakira160
@kirakira160 Жыл бұрын
keep going sir! looking for more videos
@webuilddevelopers
@webuilddevelopers Жыл бұрын
Sure thing, thanks
@dileeshaabilash5562
@dileeshaabilash5562 5 ай бұрын
perfect ❤❤
@ankitchahal7238
@ankitchahal7238 Жыл бұрын
Excellent video, one question Can we implement an adapter design pattern without giving concrete implementation?
@webuilddevelopers
@webuilddevelopers Жыл бұрын
Nice question, if you are following interface approach then concrete implementation is must, but if you donot follow interface approach then no concrete implementation is required, hope this answer your query...
@AtishAbhang
@AtishAbhang 4 ай бұрын
why can't we just create android struct which implements charge function, that becomes part of the interface and just pass android struct to charge function accepting mobile interface?
@Tyronekong
@Tyronekong 3 ай бұрын
This was my exact thought, what is the benefit of creating an adaptor as thats extra code for doing the same thing
@rifajas
@rifajas Жыл бұрын
poor naming conventions used and confusing method names are used. If our intention is to charge the mobile, the mobile interface could be renamed as charger and the chargeAppleMobile method also could be renamed as charge to avoid confusion and later on we can introduce the android adapter which implements charger interface.
@amantarar9077
@amantarar9077 6 ай бұрын
are you the guy works in ticketMaster ?
@ArshEducation
@ArshEducation 10 ай бұрын
Names used are really confusing. Had to watch this twice to understand what do you actually mean. Other than this, nice video
@webuilddevelopers
@webuilddevelopers 10 ай бұрын
Thank you for the genuine feedback I will take care of this moving forward........
[Golang] State | State pattern in go | go State pattern
18:26
We Build Developers
Рет қаралды 1,8 М.
When RESTful architecture isn't enough...
21:02
Dreams of Code
Рет қаралды 272 М.
Whoa
01:00
Justin Flom
Рет қаралды 22 МЛН
Вы чего бл….🤣🤣🙏🏽🙏🏽🙏🏽
00:18
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 20 МЛН
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 18 МЛН
8 Design Patterns | Prime Reacts
22:10
ThePrimeTime
Рет қаралды 405 М.
Refactoring a React Component (Design Patterns)
28:20
Cosden Solutions
Рет қаралды 13 М.
This Will Make Everyone Understand Golang Interfaces
21:03
Anthony GG
Рет қаралды 49 М.
Adapter Pattern - Design Patterns (ep 8)
26:36
Christopher Okhravi
Рет қаралды 242 М.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 253 М.
Let's Take The Adapter Design Pattern To The Next Level
22:45
ArjanCodes
Рет қаралды 49 М.
[Golang] Builder | Builder pattern in go | go Builder pattern
13:35
We Build Developers
Рет қаралды 1 М.
[Golang] Adapter
18:25
Panpito
Рет қаралды 2,2 М.
The One BIG Reason to Learn Google's Go Language
17:55
Gary Explains
Рет қаралды 157 М.
Whoa
01:00
Justin Flom
Рет қаралды 22 МЛН