Skip to content

Commit

Permalink
support basic string faking
Browse files Browse the repository at this point in the history
  • Loading branch information
ChAoSUnItY committed Feb 26, 2022
1 parent 9722e88 commit 9885d19
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.v]
indent_style = tab
indent_size = 4
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.v linguist-language=V text=auto eol=lf
*.vv linguist-language=V text=auto eol=lf
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Binaries for programs and plugins
main
vaker
*.exe
*.exe~
*.so
*.dylib
*.dll
vls.log
7 changes: 7 additions & 0 deletions v.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Module {
name: 'vaker'
description: ''
version: ''
license: ''
dependencies: []
}
13 changes: 13 additions & 0 deletions vaker.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module main

import vaker

struct St {
a string
}

fn main() {
st := St{}
vaker.fake_data(&st)
println(st)
}

0 comments on commit 9885d19

Please sign in to comment.