Tag: Go

Format Dates Calendar.Txt Style

Format your dates Calendar.txt style, everywhere! Like 2024-01-04 w01 Thu.

I printed every day from year 1700 to 2400, using Python 3, Go, PHP, Django templates and 'date'. Then I checked that results match.

day.strftime("%Y-%m-%d w%V %a") # Python
$date->format('Y-m-d \wW D') // PHP
date +"%Y-%m-%d w%V %a" # Linux 'date'

Jump Plugin for Micro

Jump to any function, class or heading with F4. Go, JavaScript, Python, C... A plugin for micro editor.

And if you're writing books, Jump plugin creates a table of contents from MarkDown, and allows you to jump to headings.

Go Programming Course 2020 w22

Gopher the Go Mascot
Gopher the Go Mascot
package main

import "fmt"

func main() {
	fmt.Println("Learn Go in one week - w22. ")
	fmt.Println("Registration opens on w12 Monday. ")
}