[8] Results

Golang : How to tokenize source code with text/scanner package?

golang tokenizer scanner EOF

It has been a while since I touch the topic on tokenizer.....err... since the day I actually built a compiler….... read more

Golang : A simple forex opportunities scanner

rsigolangoandaforex fx scanner

Below is a simple program that will scan for trading opportunities. Basically what this program does is to calculate a….... read more

Golang : Scan forex opportunities by Bollinger bands

golang bollinger-bands rsi scannerforex

My previous post of using Golang to create a scanner to spot opportunities is base on RSI criteria. For this….... read more

Golang : Randomize letters from a string example

golang slice scanner randomize-letters shuffle

For this short tutorial, we will learn how to randomize the letters(including symbols and empty spaces) in a string. Such….... read more

Golang : Break string into a slice of characters example

golang slice convert-stringTokenString scanner


You want to convert a string into a slice/array of individual characters. It is similar to breaking….... read more

Golang : Customize scanner.Scanner to treat dash as part of identifier

golang scanner is-ident-rune unicode parser

Putting this down here for my own future reference. Ok, the problem that I'm solving today involved using the `text/scanner`….... read more

Don't trade without guiding instruments and bot

crypto trading-bot artificial-intelligence scanner-bot

Piloting a plane is dangerous business. Today, flying has become safer because of advancement in technology. Pilots are able to….... read more

Golang : Read large file with bufio.Scanner cause token too long error

golang token-too-long bufio-scanner bufio-reader

There are couple of ways to read files with Golang and one of the common way to read in file….... read more