get event URLs
This commit is contained in:
+3
-1
@@ -12,8 +12,10 @@ func main() {
|
||||
fmt.Printf("Users display name: %s\n", calDavData.DisplayName)
|
||||
fmt.Printf("Calandar Count: %d\n", len(calDavData.Calandars))
|
||||
for i := range len(calDavData.Calandars) {
|
||||
calDavData.Calandars[i] = get_calandar_data(calDavData.Calandars[i], serverConfig.Username, serverConfig.Password)
|
||||
|
||||
fmt.Printf("Cal %d is named %s\n", i, calDavData.Calandars[i].DisplayName)
|
||||
fmt.Printf("\tLink to cal: %s\n", calDavData.Calandars[i].Link)
|
||||
calDavData.Calandars[i] = get_calandar_data(calDavData.Calandars[i], serverConfig.Username, serverConfig.Password)
|
||||
fmt.Printf("\tEvent count: %d\n", len(calDavData.Calandars[i].Events))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user