codescalersinternships / home

home repo for internships
2 stars 0 forks source link

INI Parser - Omar Sherif #23

Open omar-sherif9992 opened 2 years ago

omar-sherif9992 commented 2 years ago

Create an INI parser

expected API Can get inspired by config parser

LoadFromString LoadFromFile GetSectionNames list of all section names [Done] GetSections serialize convert into a dictionary/map { section_name: {key1: val1, key2, val2} ...} [Done] Get(section_name, key) gets the value of key in section section_name Set(section_name, key, value) sets a key in section section_name to value value ToString SaveToFile deliverables Code committed on username-ini go repo Tests Github actions API documentation Enduser documentation remarks assume there're no global keys, every keys need to be part of a section assume the key value separator is just = keys and values should have spaces trimmed comments are only valid at the beginning of the line

omar-sherif9992 commented 2 years ago

completed all required functions & Github actions more tests will be added