Skip to content

Commit b3df568

Browse files
committed
fix: Update docs and import
1 parent 5178df0 commit b3df568

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

go/ql/lib/semmle/go/frameworks/GoMicro.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import go
99
*/
1010
module GoMicro {
1111
/**
12-
* GoMicro server type.
12+
* A GoMicro server type.
1313
*/
1414
class GoMicroServerType extends Type {
1515
GoMicroServerType() { this.hasQualifiedName("go-micro.dev/v4/server", "Server") }
@@ -46,7 +46,7 @@ module GoMicro {
4646
}
4747

4848
/**
49-
* Server internal
49+
* A Server Interface type.
5050
*/
5151
class ServiceInterfaceType extends InterfaceType {
5252
NamedType namedType;
@@ -71,7 +71,7 @@ module GoMicro {
7171
}
7272

7373
/**
74-
* A service server type.
74+
* A Service server handler type.
7575
*/
7676
class ServiceServerType extends NamedType {
7777
ServiceServerType() {
@@ -112,7 +112,7 @@ module GoMicro {
112112
}
113113

114114
/**
115-
* Remote / Untrusted requests coming to the service handler.
115+
* A set of remote requests from a service handler.
116116
*/
117117
class Request extends UntrustedFlowSource::Range instanceof DataFlow::ParameterNode {
118118
Request() {
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
import go
2-
import semmle.go.frameworks.GoMicro
32

43
query predicate requests(DataFlow::ParameterNode node) { node instanceof GoMicro::Request }

0 commit comments

Comments
 (0)