events

package
v0.0.0-...-941a20e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

README

Step 5: final version of the application

Congratulations, your application is now complete!!!! 🎉

You might continue improving it; one idea is to perform all the calls to weather concurrently. How would you do that?

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Title       string    `json:"title"`
	Description string    `json:"description"`
	Date        time.Time `json:"date"`
	Location    string    `json:"location"`
	Weather     *Weather  `json:"weather" datastore:"-"`
}

Event contains the information related to an event.

type Weather

type Weather struct {
	Description string `json:"description"`
	Icon        string `json:"icon"`
}

Weather contains the description and icon for a weather condition.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL