Skip to content

The repository consists the code to receive a message via. POST request and replace the variables with the row entries of the CSV file and export each into a txt file.

Notifications You must be signed in to change notification settings

avs-7955/template-filler-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template Filler in Golang

The repository consists the code to receive a message via. POST request. The recieved message is then parsed and all the column headers are replaced with respective row entries values in the text. The generated text messages are then converted into txt file and stored locally.

Tech stack
TechStack

Svelte

Screenshots

  1. Send POST request to server - http://localhost:3000/dashboard

Format to send the JSON object

2. Save the CSV file with some data and after running the script, we get multiple txt files with customized message.

Customized txt file for each person

Run Locally

Clone the project

  git clone https://github.com/avs-7955/template-filler-golang.git

Go to the project directory

  cd template-filler-golang

Run the backend server

  go run main.go

Use Thunder Client or Postman to test the server.

Author

About

The repository consists the code to receive a message via. POST request and replace the variables with the row entries of the CSV file and export each into a txt file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages