Skip to content

Commit c879930

Browse files
committed
update folder structure
1 parent 2793d07 commit c879930

File tree

4 files changed

+5018
-6135
lines changed

4 files changed

+5018
-6135
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# lsprotocol generator for go
2+
3+
This is a generator plugin for go using https://github.com/microsoft/lsprotocol.

lspgenerator/go/go_generator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def generate_from_spec(
3030
notifications = generate_notifications(spec, type_resolver)
3131
or_types = generate_or_types(type_resolver)
3232
code = {
33-
"lsprotocol/types.go": join(
33+
"protocol/types.go": join(
3434
header
3535
+ base_types
3636
+ structs
@@ -39,7 +39,7 @@ def generate_from_spec(
3939
+ enums
4040
+ or_types,
4141
),
42-
"lsprotocol/types_test.go": generate_tests(spec),
42+
"protocol/types_test.go": generate_tests(spec),
4343
}
4444
output_path = pathlib.Path(output_dir)
4545
test_path = pathlib.Path(test_dir)

0 commit comments

Comments
 (0)