-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prokudina lab 9 #511
base: Prokudina_Khristina
Are you sure you want to change the base?
Prokudina lab 9 #511
Conversation
golang/lab9/lab9.go
Outdated
type Task struct { | ||
Description string `json:"description"` | ||
Completed bool `json:"completed"` | ||
} | ||
|
||
type TaskManager struct { | ||
Tasks []Task | ||
} | ||
|
||
type TaskManagerInterface interface { | ||
AddTask(description string) | ||
ShowTasks() | ||
CompleteTask(index int) | ||
DeleteTask(index int) | ||
SearchTask(keyword string) | ||
SaveToFile(filename string) | ||
LoadFromFile(filename string) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Разделяйте все на разные файлы. Всегда
golang/lab9/lab9.go
Outdated
@@ -0,0 +1,170 @@ | |||
package lab9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Где-то я эту реализацию видел, копипаст? Еще и коммит один, подозрительно
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ответ то будет тут?) Сможете защитить лабораторную эту на паре или снизим балл?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Здравствуйте, что не так с коммитом?
golang/lab9/task_manager.go
Outdated
@@ -0,0 +1,104 @@ | |||
package lab9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Название файла тоже должно быть CamelCase
Так же не увидел использование лабы в main.go |
No description provided.