Mike CodeYew | 10, Conditional RenderingWe can use if expression to render some html conditionally.3h ago3h ago
Mike CodeRust, Fat PointerA fat Pointer is a pointer not just store the memory address , also contains extra metadata information.1d ago1d ago
Mike CodeYew | 08, Fragmentshtml macro always requires a sing root node, we can’t put two nodes in top level in a html macro. We can use empty tags as a root node:1d ago1d ago
Mike CodeRust, AtomicBoolWe can use AtomicBool to safely share boolean value across different threads.2d ago2d ago
Mike CodeGo, CommentWe can use comment to describe some code or to not execute some code.3d ago3d ago
Mike CodeGo, Exec’ing ProcessesWe use exec.LookPath function to find an executable in directories named by the PATH environment variable. If not find one , it will…3d ago3d ago