diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml index ead4236..c5ce86f 100644 --- a/config/_default/languages.en.toml +++ b/config/_default/languages.en.toml @@ -20,7 +20,7 @@ title = "GHOSCHT" # image = "img/blowfish_logo.png" # imageQuality = 96 headline = "Computer Science Student & Avid Photographer" - bio = "Computer Science @TUM | Working Student @ IDS (Allianz Group)" + bio = "Computer Science Student & Avid Photographer" links = [ { forgejo = "https://git.ghoscht.com/ghoscht" }, { mastodon = "https://tum.social/@ghoscht" }, diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml index b369759..1396934 100644 --- a/config/_default/menus.en.toml +++ b/config/_default/menus.en.toml @@ -15,6 +15,16 @@ pageRef = "posts" weight = 10 +# [[main]] +# name = "Photos" +# weight = 10 +# +# [[main]] +# name = "Munich Exploration" +# parent = "Photos" +# pageRef = "photos/munich-exploration" +# weight = 20 + #[[main]] # name = "Parent" # weight = 20 @@ -42,10 +52,10 @@ # pageRef = "categories/awesome" # weight = 20 -[[main]] - name = "Categories" - pageRef = "categories" - weight = 20 +# [[main]] +# name = "Categories" +# pageRef = "categories" +# weight = 20 #[[main]] # name = "Tags" @@ -58,10 +68,10 @@ # the copyright notice. Configure as per the main menu above. -# [[footer]] -# name = "Tags" -# pageRef = "tags" -# weight = 10 +[[footer]] + name = "Tags" + pageRef = "tags" + weight = 10 # [[footer]] # name = "Categories" diff --git a/content/posts/rust-di-mocking.md b/content/posts/rust-di-mocking.md index dd57887..8a6890b 100644 --- a/content/posts/rust-di-mocking.md +++ b/content/posts/rust-di-mocking.md @@ -1,20 +1,21 @@ +++ date = '2024-12-29T13:42:30+01:00' draft = true -title = 'Mocking in Rust using Dependency Injection' +title = 'Mocking in Rust with Dependency Injection' +summary = "Learn more about me and why I am starting this blog." +tags = ["rust", "testing"] +++ {{< lead >}} Rust is hard. {{< /lead >}} -That is one of my takeways from one of my recent endeavors during the winter break. +That's one of my takeways from one of my recent endeavors during the winter break. {{< forgejo repo="ghoscht/picoKontroller" >}} -
-# TL;DR +## TL;DR Rust isn't necessarily suited for pure object oriented programming. -# Getting Started -Use Shaku and Mockall +## Getting Started +Use [Shaku](https://github.com/AzureMarker/shaku) and [Mockall](https://github.com/asomers/mockall)