Skip to content
TILens What matters today in tech v0.0.4
Theme

Topic · Edition

Rust

1 items on 07 Mar 2023
Go Rust

Interfaces 101 : Interface Type Assertion Ep. 6

Introduction In episode 5, Miki wrote a function that counted the number of lines in a file with interfaces. The first thing his function did was to open a file with Go’s os.Open function. Miki chose this method because…

Source: Ardan Labs Blog