package
0.0.0-20240303235359-511227b8aea2
Repository: https://github.com/lukmanern/go-with-me.git
Documentation: pkg.go.dev
# README
Contact App 2
This is a simple Go program that manages a list of contacts. It defines two types, Contact and Contacts. The Contact type represents a single contact with a name and phone number. The Contacts type is a map of contacts where the key is a unique ID for each contact.
The Contacts type has the following methods:
- AddContact: Adds a new contact to the Contacts map.
- GetContact: Retrieves a contact from the Contacts map by ID.
- UpdateContact: Updates an existing contact in the Contacts map.
- DeleteContact: Deletes a contact from the Contacts map.