Created
June 7, 2026 19:58
-
-
Save morjuax/90c433fd756808832b1182e0a3b82639 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Welcome to GoLab | |
| // Edit the 'days' variable to see instant results. | |
| func toHours(days int) int { | |
| return days * 24 | |
| } | |
| days := 7 | |
| hours := toHours(days) | |
| fmt.Printf("📅 Period: %d days\n", days) | |
| fmt.Printf("⏰ Total: %d hours\n", hours) | |
| fmt.Printf("🚀 Execution: %v", time.Now().Format("03:04:05 PM")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment