package
0.0.0-20241230030951-6e8ea4403719
Repository: https://github.com/tyagian/go_projects.git
Documentation: pkg.go.dev

# README

UseCase 1

  1. Unknown type unmarshall from data, assign as interface {}
Error: json: cannot unmarshal object into Go struct field Data.info of type string
  1. To enable polymorphism by allowing different types (rectangle, circle) to be treated as Shape

# Functions

Function using Logger.

# Structs

Circle struct.
ConsoleLogger struct.
No description provided by the author
Rectangle struct.

# Interfaces

Logger interface.
Shape interface.