Theory and Practice
About Archives Categories Tags Authors 中文 ไทย
  1. Tags
  2. Go time Package

[Golang] Find Last Modified File With Specific Name Prefix

April 18, 2018

Get last modified file, name of which starts with specific prefix, in Go.

 read more »

Generate Fair Results From A Biased Coin

April 17, 2018

Given a biased coin with the probability of p to be head on each toss, where 0 < p < 1 and p ≠ 0.5, generate fair results from the biased coin.

 read more »

Generate Any One of Given Numbers According to Given Probabilities

April 16, 2018

Given N numbers, generate any one of the given numbers according to given probabilities.

 read more »

[Golang] Find Oldest Modified File in Directory

April 11, 2018

Find oldest modified file in the directory, excluding sub-directories, in Go.

 read more »

[Golang] Find Files After Given Time

April 07, 2018

Find files after a given timestamp in Go.

 read more »

[Golang] Find Last Modified File Before Specific Time

April 06, 2018

Get last modified file before a specific time in Go.

 read more »

[Golang] Get Last System Boot Time

April 05, 2018

Get last Ubuntu Linux system boot/restart time in Go.

 read more »

[Golang] Find Files Older Than One Day

March 25, 2018

Find files modified more than one day via Go standard time package.

 read more »

[Golang] Parse Unix Time (utime) Example

February 16, 2017

Parse the string of Unix time (also known as POSIX time or Epoch time) in Go programmming language.

 read more »

[Golang/GopherJS] setTimeout

June 03, 2016

JavaScript setTimeout equivalent in Go/GopherJS - time.AfterFunc.

 read more »

[Golang] Generate Random String From [a-z0-9]

April 13, 2015 (Updated: March 21, 2017)

Generate a random string from [a-z0-9] in Golang.

 read more »

[Golang] Goroutines Poll Web Feeds

March 10, 2015

Poll RSS/ATOM feeds with Goroutines

 read more »
Powered by Github Pages, Pelican, pyScss.