Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetData ¶
Example ¶
package main import ( "context" "fmt" "github.com/jxsl13/dawum" ) func main() { data, err := dawum.GetData(context.Background()) if err != nil { panic(err) } fmt.Println(data) // {"Database":{"License":{"Name":"ODC Open Database License","Shortcut":"ODC-ODbL","Link":"https........ }
Output:
func GetLastUpdate ¶
Example ¶
package main import ( "context" "fmt" "github.com/jxsl13/dawum" ) func main() { datetime, err := dawum.GetLastUpdate(context.Background()) if err != nil { panic(err) } fmt.Println(datetime) // 2023-09-29T09:41:59+02:00 }
Output:
Types ¶
Click to show internal directories.
Click to hide internal directories.