Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

## BOOKING APP - LAB

### technology: GoLang

How this app works:
for one user to use in the terminal

- Starting the app
- Asking user for information (scan)
- Bookings updated (append to slice)
- Applications exited

### Features about GoLang

- Variable
  - Data Type
- Array and Slice
- Loop
- If Else
- Switch case
- package
- green thread
- synchronized
- struct
- data type

### Readable Code

- Greet the user -> greetUsers
- Get the user input -> getUserInput
- Validate the user input -> validateUserInput
- If everything is valid
- Booking the ticket -> bookTicket
- Get first name -> getFirstNames
- Print the first name
- if no ticket left, exist the program
- wait 50s to send the ticket to the user

### Run the program

- go run .

About

This repo just for learning

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages