Исходники и презентации

This commit is contained in:
2025-05-23 07:26:39 +03:00
parent aa948179d5
commit 02d8430a3a
514 changed files with 13773 additions and 0 deletions

View File

@ -0,0 +1,20 @@
package main
import "fmt"
type client struct {
id string
operations []float64
}
func main() {
client1 := client{id: "x", operations: []float64{1.}}
client2 := client{id: "y", operations: []float64{1.}}
fmt.Println(client1 == client2)
/*
var anyClient1 any = client{id: "x", operations: []float64{1.}}
var anyClient2 any = client{id: "y", operations: []float64{1.}}
fmt.Println(anyClient1 == anyClient2)
*/
}