This commit is contained in:
parent
e5e346edc1
commit
59d5e70de7
3 changed files with 26 additions and 15 deletions
|
@ -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" },
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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" >}}
|
||||
<br>
|
||||
|
||||
# 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)
|
||||
|
|
Loading…
Reference in a new issue