This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @uses Ucfirst on all keys of multidimensionnal array | |
* @param Array $array | |
* @return Array | |
**/ | |
function array_keys_ucfirst(&$array){ | |
if(!is_array($array)) return $array; | |
foreach ($array as $key => &$val) | |
{ | |
$element = array_keys_ucfirst($val); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"errors" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"time" |