[17] Results

Elastic Search : Return all records (higher than default 10)

php elastic-search elastic-search-default-size

Problem :

You only get 10 results from elastic search query and you suspected that there should be more results….... read more


Golang : Count JSON objects and convert to slice/array

golang json count-json-objects pagination elastic-search

Problem :

You have an array of JSON objects and you want to count the number of JSON objects. You….... read more


Golang : File system scanning

golang filepath-walk scan size

Problem :

How to scan all the files located inside a root directory in Golang?

Solution :

Use the filepath.Walk.... read more


Golang : Search folders for file recursively with wildcard support

golang search-recursively wildcard filepath

Ok, here is an example on how to search for a file starting from a target directory and recursively search….... read more


Golang : Find and replace data in all files recursively

golang search-recursively search-and-replace filepath

Alright, this tutorial is an enhancement of previous tutorial on how to search for file recursively with wildcard support. In….... read more


Golang : Proper way to set function argument default value

golang function-argument default-values function-parameters

In PHP, it is easy to specify the default values of a function arguments. All you need to do is….... read more


Golang : Force download file example

golang force-download meta-refresh file-size

For this tutorial, we will learn how to create a page that will force download a file to the client.….... read more


Golang : Get download file size

golang download-size filename-from-url content-length

Part of a good user experience is to let your users know in advance what are the next expected actions….... read more


Advertisement