unizar-calendar

module
v0.0.0-...-26575eb Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: MIT

README

unizar-calendar

Tests GoReportCard Docs

Usage

You can interact with the CLI by running the executable from a terminal. If you want to check the available options, you can use the flag -h.

$ ./unizar-calendar -h

In case you generate for Google Calendar, make sure to create a new calendar with the correct timezone before importing. To import a csv file as a calendar, check this guide.

Compile

Compilation is automatic thanks to Go modules. That means you have to enable modules support by setting the environment variable GO111MODULE=on.

go build

Requirements

  • Go 1.14 (or higher).
  • Go modules enabled.

If you are going to use the webdata module or pkg/gcal, you need the following:

  • Project with Google Calendar API site enabled.
  • Create a Service Account.
  • Download JSON credentials of Service Account.
  • Set the path to the JSON file in the GOOGLE_APPLICATION_CREDENTIALS environment variable.

Directories

Path Synopsis
cmd
wasm
WebAssembly wrapper functions to use from a web client.
WebAssembly wrapper functions to use from a web client.
webdata
Usage: webdata semester1 semester2
Usage: webdata semester1 semester2
internal
pkg

Jump to

Keyboard shortcuts

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