Skip to content

Commit

Permalink
feat: add a helloworld package contains a sub package
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe committed Oct 23, 2024
1 parent cef3a90 commit bf93867
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helloworld/0.1.4/kcl.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[package]
name = "helloworld"
edition = "*"
version = "0.1.4"
description = "This is a hello world package that contains a sub package"

Empty file added helloworld/0.1.4/kcl.mod.lock
Empty file.
8 changes: 8 additions & 0 deletions helloworld/0.1.4/main.k
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
schema HelloWorldSchema:
msg: str

The_fisrt_schema_inst = HelloWorldSchema{
msg: "Hello Schema!"
}

The_first_kcl_program = 'Hello World!'
4 changes: 4 additions & 0 deletions helloworld/0.1.4/subhelloworld/kcl.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[package]
name = "subhelloworld"
edition = "v0.10.0"
version = "0.0.1"
Empty file.
1 change: 1 addition & 0 deletions helloworld/0.1.4/subhelloworld/main.k
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The_first_sub_kcl_program = 'Hello Sub World!'

0 comments on commit bf93867

Please sign in to comment.