Skip to content

Commit

Permalink
refactor: make monorepo to contain impls in multiple langs
Browse files Browse the repository at this point in the history
this will enable to add implementations in other programming languages
  • Loading branch information
hirenchauhan2 committed Oct 24, 2023
1 parent 5879253 commit f09885c
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
go-version: '1.21.3'

- name: Build
run: go build -v ./...
run: cd go && go build -v ./...

- name: Test
run: go test -v ./...
run: cd go && go test -v ./...
3 changes: 0 additions & 3 deletions go.mod

This file was deleted.

File renamed without changes.
3 changes: 2 additions & 1 deletion README.md → go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package main
import (
"fmt"

"github.com/hirenchauhan2/gu2en"
gu2en "github.com/hirenchauhan2/gu2en/go"
)

func main() {
Expand All @@ -36,6 +36,7 @@ func main() {
- [x] Use "m" instead of "n" for diacrit "ં" in certain scenarios such as "ભં" and "અં" and others
- [ ] Identify or fix transliteration
- [ ] Add [IPA](https://www.wikiwand.com/en/International_Phonetic_Alphabet) conversion mode
- [ ] Add normal english characters mode for better readability conversions (Gujlish) text

### License
GPL V3
2 changes: 1 addition & 1 deletion cmd/cli/cli.go → go/cmd/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/hirenchauhan2/gu2en"
gu2en "github.com/hirenchauhan2/gu2en/go"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/http-api/api.go → go/cmd/http-api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
"net/http"

"github.com/hirenchauhan2/gu2en"
gu2en "github.com/hirenchauhan2/gu2en/go"
)

type Message struct {
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions go/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/hirenchauhan2/gu2en/go

go 1.21.3
File renamed without changes.
File renamed without changes.

0 comments on commit f09885c

Please sign in to comment.