Skip to content

Added input validation and edited output to dispaly in MB#6

Open
yagreut wants to merge 1 commit into
backup/main-before-prsfrom
feature/validateInput
Open

Added input validation and edited output to dispaly in MB#6
yagreut wants to merge 1 commit into
backup/main-before-prsfrom
feature/validateInput

Conversation

@yagreut

@yagreut yagreut commented Apr 20, 2025

Copy link
Copy Markdown
Owner

Added input validation and changed the output to display size in MB

Comment thread models/models.go
type FileOutput struct {
Name string `json:"name"`
Size int64 `json:"size"`
Size int64 `json:"size in MB"`

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

never use spaces, change to _ between each word

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants