Skip to content

Commit

Permalink
struct
Browse files Browse the repository at this point in the history
  • Loading branch information
BranchyDaddy committed Jan 17, 2024
1 parent f535326 commit 79943db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions golang/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ func main() {

player.PrintDetails()

// Изменение имени персонажа
player.SetName("Диджей Миша")
fmt.Println("Имя персонажа после изменения:", player.Name)

// Вывод общей силы персонажа
power := player.GetOverallPoints()
fmt.Println("Общая сила персонажа:", power)
}

0 comments on commit 79943db

Please sign in to comment.