Added and corrected comments
This commit is contained in:
@@ -18,6 +18,7 @@ type Content interface {
|
||||
Check() error
|
||||
}
|
||||
|
||||
// NewContent creates a new Content. It returns a Content and an error.
|
||||
func NewContent(contentType int, mediaType string, content any) (Content, error) {
|
||||
switch contentType {
|
||||
case 0:
|
||||
|
Reference in New Issue
Block a user