1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-25 23:02:22 +02:00

сделал HoursMinutesSeconds{}

This commit is contained in:
Nikitin Aleksandr
2025-02-12 15:12:33 +03:00
parent c1a042cab8
commit cf70289689
5 changed files with 99 additions and 0 deletions

View File

@@ -1352,3 +1352,13 @@ func TestStringFromBool(t *testing.T) {
t.Errorf("Expected 'true', but got %s", Otvet)
}
}
//func TestTime_UnmarshalByte(t *testing.T) {
// var Otvet Time
// Test := []byte("10:05:01")
// err := (&Otvet).UnmarshalByte(Test)
// if err != nil {
// t.Errorf("TestTime_UnmarshalByte() error: %v", err)
// }
// t.Log(time.Time(Otvet))
//}