Skip to content

Sweep: Add something to README.md #5

@taherv

Description

@taherv

Create a README.md if it does not exist.
Add the following paragraph to README.md
"This is an experimental project".

Checklist
  • main.go

• Add a function named "checkAndModifyReadme" that does the following:

  • Checks if a file named "README.md" exists in the root directory of the project.
  • If the file does not exist, creates a new "README.md" file.
  • Opens the "README.md" file in append mode.
  • Writes the paragraph "This is an experimental project" to the "README.md" file.
  • Saves and closes the "README.md" file.
    • Call the "checkAndModifyReadme" function in the main function of the program.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions