Skip to content

Instantly share code, notes, and snippets.

View atikahe's full-sized avatar

atikah atikahe

View GitHub Profile
@atikahe
atikahe / spreadsheet_manager.go
Last active September 21, 2022 04:17
A snippet of spreadsheet manager package to extract contents from xls, xlsx, and csv file type dynamically. The package will recognize the extension of a file and pass it to their respective handlers. Built using Factory Pattern. Reference: https://refactoring.guru/design-patterns/factory-method/go/example. Resource: https://github.com/xuri/exce…
package spreadsheet
import (
"encoding/csv"
"fmt"
"mime/multipart"
"github.com/xuri/excelize/v2"
)

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example