Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuanyu90221/leapyeargo
https://github.com/yuanyu90221/leapyeargo
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuanyu90221/leapyeargo
- Owner: yuanyu90221
- Created: 2022-01-24T16:03:11.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-05T14:42:38.000Z (almost 3 years ago)
- Last Synced: 2024-06-19T20:56:49.650Z (7 months ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LeapYearGo
```golang
func isLeapYear(year int) bool {
return ((year%400 == 0) || ((year%100 != 0) && (year%4 == 0)))
}
```