Tags » Go

The Activities Slow Down.

Up and down

I go

not with a frown

I bow

forward and backward

I shuttle

never in a wayward

I buckle

before  in great speed… 31 more words


Time Conversion in Go

Convert seconds (integer) to hour:minute:second formatted string:

package main

import (

func convertElapsedSecondsToString(seconds int64) string {
    timeElapsedString := strconv.FormatInt(seconds, 10) + "s"
    duration, err := time.ParseDuration(timeElapsedString)
    if err != nil {
    hour := int64(duration/time.Hour)
    min := int64(duration/time.Minute) - hour * 60
    sec := seconds - hour * 60 * 60 - min * 60
    h := strconv.FormatInt(hour, 10)
    m := strconv.FormatInt(min, 10)
    s := strconv.FormatInt(sec, 10)
    return fmt.Sprintf("%s:%s:%s", h, m, s)

func main() {
    myTestRunDuration := convertElapsedSecondsToString(20555)

Words to ponder.

For this day, we ponder of two words. “Let” and “go”

Let go. Surrender to what you want and what you need. Don’t be afraid. Don’t hide. 31 more words


piss & vinegar

My mother used to tell me I was full of piss and vinegar. I never quite knew what she meant by that.  It was one of those things your parents tell you that pique your curiosity, but never quite go anywhere.   1,472 more words



For whatever was written in former days was written for our instruction, that through endurance and through the encouragement of the Scriptures we might have hope. 711 more words