package
0.0.0-20240417085638-ead46a1ff15d
Repository: https://github.com/ridwanulhoquejr/go-rest-api-v2.git
Documentation: pkg.go.dev

# Functions

NewService - its like a constructor returns a pointer to a new [Service] struct, where Service.Store is a db connection so, every method in this interface can access the db connection.

# Variables

No description provided by the author
No description provided by the author

# Structs

Comment - a representation of the comment ? structure for our Service.
Service - is the struct on which all our logic will be built on top of.

# Interfaces

Store interface: its a contract it ensure that whoeve satisfied this interface decalation they will be directly communicating with these decalared func for example: we defince Store struct in Service layer, so whoever had an instance of this Service they will access the interface decalaration func form anywhere.