This commit is contained in:
2024-06-27 12:02:25 +02:00
commit 1288c0a215
4 changed files with 48 additions and 0 deletions

17
scrap.nim Normal file
View File

@@ -0,0 +1,17 @@
type
Entry* = object
name*, tag*, description*, link*, category* : string
proc getEntryFromHtml(entry : Entry) =
echo(entry.description)
proc test() =
var entry: Entry
entry = Entry(name : "testname",description : "testdescription",link : "testlink",category : "testcategory")
entry.getEntryFromHtml()
#echo "run test"
test()