Go - Interface Satisfaction - 2


  • When a type value assign to a variable, it can call method declared with type value and pointer
  • When a type pointer assign to a variable, it can call method declared with type value and pointer
  • Variable content value must be same interface type, otherwise compile error
    •  

沒有留言:

張貼留言

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 ...