Go Language Program

Programming

To Do:

You are to write a program in Go that opens a text file, imports all the data in the text file to your program, takes out all the numbers out of the imported data and then exports the contents into a new text file. Open, read, edit, write.

Requirements:

  • Your program will take the name of the input text file by a command line argument.
  • Your program will need the following functions:
    1. The main function that calls all the rest of the functions, except error checking function, sends parameters needed to the functions and receives variables back from functions when needed.
    2. A function to open the file and read in the contents of the file.
    3. A function to parse out all numbers in the imported file data.
    4. A function to write the new data, without numbers back to the output file.
    5. An error checking function, many of these steps have function calls that return an error variable, that variable should be sent to this function, if there is no error it doesn’t need to do anything, if there is an error it should be sent to the panic function (built in, you don’t write panic).
  • The output file name should be taken from user input.

Cut and Paste Sample input:

T56544h7575475e 75754an5675477s87567w7567e8767676574r
t5654o565654 7575757th675676e la75677s375475743t
q56456u56546e546st7575ion5654 75747o754554f
t3333333h55555e f6666i7r77s888t q999u999966764i55645434z
w4354543i646546l7677l 6868b68686654e “G224445566oL444a36346n35120g”88.

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational