sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
package main | |
import ( | |
"context" | |
"fmt" | |
coreProto "golang/simple-grpc/proto" | |
"google.golang.org/grpc" | |
"log" | |
"net" | |
) |
syntax = "proto3"; | |
option go_package = "proto/hello.proto;hello_proto"; | |
package proto; | |
service HelloService { | |
rpc SayHello(HelloRequest) returns (HelloResponse) {} | |
} |
class Student: | |
name: str = "foo" | |
hobby: str = "bar" | |
def __init__(self, age: int = 0): | |
self.age = age | |
@property | |
def get_name(self): | |
return self.name |
class Student: | |
name: str = "foo" | |
hobby: str = "bar" | |
def __init__(self, age: int = 0): | |
self.age = age | |
@property | |
def get_name(self): | |
return self.name |
class Student: | |
name: str = "foo" | |
hobby: str = "bar" | |
def __init__(self, age: int = 0): | |
self.age = age | |
@property | |
def get_name(self): | |
return self.name |
class Student: | |
name: str = "foo" | |
hobby: str = "bar" | |
def __init__(self, age: int = 0): | |
self.age = age | |
@property | |
def get_name(self): | |
return self.name |
class Student: | |
name: str = "foo" | |
hobby: str = "bar" | |
def __init__(self, age: int = 0): | |
self.age = age | |
@property | |
def get_name(self): | |
return self.name |
class FooBar: | |
class_attr: str = "foo bar" | |
def __init__(self, instance_attr: str): | |
self.instance_attr = instance_attr | |
if __name__ == "__main__": |
class FooBar: | |
class_attr: str = "foo bar" | |
def __init__(self, instance_attr: str): | |
self.instance_attr = instance_attr | |
if __name__ == "__main__": |