package
0.0.0-20241212013832-3e83a38c33ff
Repository: https://github.com/blackhorseya/golang-101.git
Documentation: pkg.go.dev

# Structs

MacOSButton 實現 Button 接口.
MacOSFactory 實現 GUIFactory 接口,創建 MacOS 風格的產品.
MacOSTextBox 實現 TextBox 接口.
WindowsButton 實現 Button 接口.
WindowsFactory 實現 GUIFactory 接口,創建 Windows 風格的產品.
WindowsTextBox 實現 TextBox 接口.

# Interfaces

Button is the interface that all buttons must implement.
GUIFactory 定義創建一族產品的方法.
TextBox is the interface that all text boxes must implement.