Skip to content

Commit 9be0a76

Browse files
committed
fix typo
1 parent ba752d3 commit 9be0a76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmds/module/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func unregister(container *dic.Container, util *color.Color, module string) {
9090
}
9191

9292
if !exist {
93-
util.Println("Module tidak terdaftar")
93+
util.Println("Modul tidak terdaftar")
9494
return
9595
}
9696

@@ -124,7 +124,7 @@ func unregister(container *dic.Container, util *color.Color, module string) {
124124
os.Remove(fmt.Sprintf("%s/protos/builds/%s.pb.go", workDir, word.Underscore(module)))
125125
os.Remove(fmt.Sprintf("%s/protos/builds/%s.pb.gw.go", workDir, word.Underscore(module)))
126126

127-
util.Println("Module berhasil dihapus")
127+
util.Println("Modul berhasil dihapus")
128128
}
129129

130130
func register(container *dic.Container, util *color.Color) {
@@ -147,14 +147,14 @@ func register(container *dic.Container, util *color.Color) {
147147
148148
`)
149149

150-
err := interact.NewInteraction("Masukkan Nama Table?").Resolve(&module.Name)
150+
err := interact.NewInteraction("Masukkan Nama Modul?").Resolve(&module.Name)
151151
if err != nil {
152152
util.Println(err.Error())
153153
os.Exit(1)
154154
}
155155

156156
if strings.HasSuffix(module.Name, "test") {
157-
util.Println("Module has 'test' as surfix")
157+
util.Println("Modul mengandung kata 'test'")
158158
os.Exit(1)
159159
}
160160

0 commit comments

Comments
 (0)