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

Pass Command-line Arguments to Makefile and Go Program

May 15, 2018

Pass command-line arguments to make and then pass then arguments to Go program in Makefile.

 read more »

Pass Command Line Arguments (Flags) in Go Test

April 28, 2017

Pass command line arguments (flags) in Go test.

 read more »

[Golang] Parse Command Line Arguments - String Variable

December 21, 2016

How to parse command-line arguments (string variable) via flag package in Go programming language.

 read more »

[Golang] Extract Text via State Machine and goquery

April 11, 2016

Extract text (i.e., footnote) in HTML via state machine and goquery in Go programming language.

 read more »

[Golang] Iterate over All DOM Elements in HTML

April 10, 2016 (Updated: April 15, 2016)

Iterate over all DOM elements in HTML via Go programming language. Use net/html package to parse and iterate all elements in HTML. Search for HTML links and output them in reStructuredText format.

 read more »

[Golang] Get HTML Title via goquery

March 22, 2016

A simple example to read HTML title via goquery in Go.

 read more »

[Golang] Convert File Encoding From Big5 to UTF-8

March 21, 2016

Convert file encoding from Big5 to UTF-8 via Go programming language.

 read more »

[Golang] Download HTML From URL

March 19, 2016 (Updated: October 10, 2018)

Download and save HTML file from given URL via Go. Do nothing if the HTML file already locally exists.

 read more »

[Golang] Read Command-line Arguments Example

February 18, 2015

How to pass command-line arguments (flags) in Go programming language.

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