Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 831 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 831 Bytes

LFS teaching assignment w/ Go

The script compiles a CSV file containing course details, instructor names, and their email addresses. When a specific term or session is chosen, the script retrieves the courses and the corresponding instructors with their email addresses for that selected term or session.

Installation

  1. Install Go: Download

  2. Create a .env file

academicURL=""
academicEXPURL=""
ClientID=""
ClientSecret=""

How to use

  1. Run the program using go run main.go OR build an executable
 // to run the code
go run main.go

// to build an executable
go build <`go.mod` module name> // e.g. go build teaching-assignment
  1. The program will ask you to enter a year

Example:

Enter a year [1996, 2032]: 2023
  1. Open courses.csv to view your data