Skip to content

Commit 35a5c21

Browse files
authored
optimize directory structure (#19)
1 parent 134fb4b commit 35a5c21

File tree

25 files changed

+41
-42
lines changed

25 files changed

+41
-42
lines changed

src/main/kotlin/com/github/oldmegit/goframehelper/provider/CompletionApiTag.kt renamed to src/main/kotlin/com/github/oldmegit/goframehelper/completion/go/CompletionApiTag.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package com.github.oldmegit.goframehelper.provider
1+
package com.github.oldmegit.goframehelper.completion.go
22

3-
import com.github.oldmegit.goframehelper.apiTagValueUtil.*
4-
import com.github.oldmegit.goframehelper.apiTagValueUtil.TagValue
3+
import com.github.oldmegit.goframehelper.data.apiTagValueUtil.*
4+
import com.github.oldmegit.goframehelper.data.apiTagValueUtil.TagValue
55
import com.github.oldmegit.goframehelper.gf.Gf
66
import com.goide.psi.GoAnonymousFieldDefinition
77
import com.goide.psi.GoFieldDefinition

src/main/kotlin/com/github/oldmegit/goframehelper/provider/CompletionBase.kt renamed to src/main/kotlin/com/github/oldmegit/goframehelper/completion/go/CompletionBase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.oldmegit.goframehelper.provider
1+
package com.github.oldmegit.goframehelper.completion.go
22

33
import com.github.oldmegit.goframehelper.gf.GfGoMod
44
import com.intellij.codeInsight.completion.CompletionParameters

src/main/kotlin/com/github/oldmegit/goframehelper/provider/CompletionCall.kt renamed to src/main/kotlin/com/github/oldmegit/goframehelper/completion/go/CompletionCall.kt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
package com.github.oldmegit.goframehelper.provider
1+
package com.github.oldmegit.goframehelper.completion.go
22

3-
import com.github.oldmegit.goframehelper.callUtil.CallUtil
4-
import com.github.oldmegit.goframehelper.callUtil.orm.OrmCallables
5-
import com.github.oldmegit.goframehelper.callUtil.orm.OrmUtil
3+
import com.github.oldmegit.goframehelper.data.callUtil.orm.OrmCallables
4+
import com.github.oldmegit.goframehelper.data.callUtil.orm.OrmUtil
65
import com.github.oldmegit.goframehelper.gf.Gf
76
import com.goide.psi.GoCallExpr
87
import com.intellij.codeInsight.lookup.LookupElementBuilder

src/main/kotlin/com/github/oldmegit/goframehelper/contributor/Completion.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.github.oldmegit.goframehelper.contributor
22

3-
import com.github.oldmegit.goframehelper.provider.CompletionApiTag
4-
import com.github.oldmegit.goframehelper.provider.CompletionCall
3+
import com.github.oldmegit.goframehelper.completion.go.CompletionApiTag
4+
import com.github.oldmegit.goframehelper.completion.go.CompletionCall
55
import com.goide.GoTypes
66
import com.goide.psi.GoCallExpr
77
import com.goide.psi.GoTag

src/main/kotlin/com/github/oldmegit/goframehelper/contributor/Reference.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.github.oldmegit.goframehelper.contributor
22

3-
import com.github.oldmegit.goframehelper.provider.ReferenceCallBase
3+
import com.github.oldmegit.goframehelper.provider.go.ReferenceCallBase
44
import com.goide.psi.GoCallExpr
55
import com.goide.psi.GoStringLiteral
66
import com.intellij.patterns.PlatformPatterns

src/main/kotlin/com/github/oldmegit/goframehelper/apiTagValueUtil/In.kt renamed to src/main/kotlin/com/github/oldmegit/goframehelper/data/apiTagValueUtil/In.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.oldmegit.goframehelper.apiTagValueUtil
1+
package com.github.oldmegit.goframehelper.data.apiTagValueUtil
22

33
object In : TagValue {
44
override val list: Map<String, String>

src/main/kotlin/com/github/oldmegit/goframehelper/apiTagValueUtil/Method.kt renamed to src/main/kotlin/com/github/oldmegit/goframehelper/data/apiTagValueUtil/Method.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.oldmegit.goframehelper.apiTagValueUtil
1+
package com.github.oldmegit.goframehelper.data.apiTagValueUtil
22

33
object Method : TagValue {
44
override val list: Map<String, String>

src/main/kotlin/com/github/oldmegit/goframehelper/apiTagValueUtil/Mime.kt renamed to src/main/kotlin/com/github/oldmegit/goframehelper/data/apiTagValueUtil/Mime.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.oldmegit.goframehelper.apiTagValueUtil
1+
package com.github.oldmegit.goframehelper.data.apiTagValueUtil
22

33
object Mime : TagValue {
44
override val list: Map<String, String>

src/main/kotlin/com/github/oldmegit/goframehelper/apiTagValueUtil/TagValue.kt renamed to src/main/kotlin/com/github/oldmegit/goframehelper/data/apiTagValueUtil/TagValue.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.oldmegit.goframehelper.apiTagValueUtil
1+
package com.github.oldmegit.goframehelper.data.apiTagValueUtil
22

33
interface TagValue {
44
val list: Map<String, String>

src/main/kotlin/com/github/oldmegit/goframehelper/apiTagValueUtil/Validation.kt renamed to src/main/kotlin/com/github/oldmegit/goframehelper/data/apiTagValueUtil/Validation.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.oldmegit.goframehelper.apiTagValueUtil
1+
package com.github.oldmegit.goframehelper.data.apiTagValueUtil
22

33
import com.github.oldmegit.goframehelper.data.GfValidationBundle
44

0 commit comments

Comments
 (0)