Compare commits
No commits in common. "e0d9ccb6835c0d3ce2e6445db59ba2e5d9ce82bb" and "e3c8cd1b580ae867277e2191f862af9b3d593c22" have entirely different histories.
e0d9ccb683
...
e3c8cd1b58
5 changed files with 1 additions and 29 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -21,4 +21,3 @@
|
||||||
# Go workspace file
|
# Go workspace file
|
||||||
go.work
|
go.work
|
||||||
|
|
||||||
.idea
|
|
||||||
|
|
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2022 (30.34) <zordsdavini@arns.lt>
|
Copyright (c) <year> <copyright holders>
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
package lllaetu_data
|
|
||||||
|
|
||||||
type Day struct {
|
|
||||||
}
|
|
||||||
|
|
||||||
func Today() Day {
|
|
||||||
|
|
||||||
return Day{}
|
|
||||||
}
|
|
|
@ -1,15 +0,0 @@
|
||||||
package lllaetu_data
|
|
||||||
|
|
||||||
import (
|
|
||||||
"fmt"
|
|
||||||
"reflect"
|
|
||||||
)
|
|
||||||
import "testing"
|
|
||||||
|
|
||||||
func TestTodayStruct(t *testing.T) {
|
|
||||||
today := Today()
|
|
||||||
s := reflect.ValueOf(&today).Elem()
|
|
||||||
if fmt.Sprint(s.Type()) != "lllaetu_data.Day" {
|
|
||||||
t.Error("Bad structure has been got.")
|
|
||||||
}
|
|
||||||
}
|
|
3
go.mod
3
go.mod
|
@ -1,3 +0,0 @@
|
||||||
module lllaetu-data
|
|
||||||
|
|
||||||
go 1.18
|
|
Loading…
Reference in a new issue