Skip to content

Commit

Permalink
chore: tweaks (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
costinmrr authored Nov 13, 2024
1 parent 7fdc89a commit 137cc94
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# gontenttype
1. **Detect the content type of a given string**

1. JSON (`application/json`)
2. XML (`application/xml`)
3. CSV (`text/csv`)

2. **Validate syntax for a given string and supported content types**


Expand All @@ -17,7 +19,8 @@ package main

import (
"fmt"
"github.com/costinmrr/gontenttype"

"github.com/costinmrr/gontenttype"
)

func main() {
Expand Down Expand Up @@ -54,8 +57,9 @@ text/csv
package main

import (
"fmt"
"github.com/costinmrr/gontenttype/types/json"
"fmt"

"github.com/costinmrr/gontenttype/types/json"
"github.com/costinmrr/gontenttype/types/xml"
"github.com/costinmrr/gontenttype/types/csv"
)
Expand Down

0 comments on commit 137cc94

Please sign in to comment.