Go - Structs - 5


  • Comparable struct can be a key of a map. (What will happen when struct value changed?)
  • Can declare a named struct type in another struct as field
  • Go let us declare a field with stuct with no name, such fields are called anonymous fields
  • Can declare with type name

沒有留言:

張貼留言

Lessons Learned While Benchmarking vLLM with GPU

Recently, I benchmarked vLLM on a GPU to better understand how much throughput can realistically be expected in an LLM serving setup. One ...