Skip to content
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

Open
wants to merge 31 commits into
base: Prokudina_Khristina
Choose a base branch
from

Conversation

hristinaprokudina
Copy link

No description provided.

@hristinaprokudina hristinaprokudina changed the base branch from master to Prokudina_Khristina December 15, 2024 17:54
Comment on lines 12 to 29
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)
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Разделяйте все на разные файлы. Всегда

@@ -0,0 +1,170 @@
package lab9
Copy link
Collaborator

@FeLL1kS FeLL1kS Dec 23, 2024

Choose a reason for hiding this comment

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

Где-то я эту реализацию видел, копипаст? Еще и коммит один, подозрительно

Copy link
Collaborator

@FeLL1kS FeLL1kS Dec 25, 2024

Choose a reason for hiding this comment

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

Ответ то будет тут?) Сможете защитить лабораторную эту на паре или снизим балл?

Copy link
Author

Choose a reason for hiding this comment

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

Здравствуйте, что не так с коммитом?

@@ -0,0 +1,104 @@
package lab9
Copy link
Collaborator

Choose a reason for hiding this comment

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

Название файла тоже должно быть CamelCase

@FeLL1kS
Copy link
Collaborator

FeLL1kS commented Dec 25, 2024

Так же не увидел использование лабы в main.go

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