add stub for runtime numcgocall, numgoroutine and version
Этот коммит содержится в:
		
							родитель
							
								
									aa421bf655
								
							
						
					
					
						коммит
						881aba1785
					
				
					 1 изменённых файлов: 14 добавлений и 0 удалений
				
			
		|  | @ -8,3 +8,17 @@ package runtime | |||
| func NumCPU() int { | ||||
| 	return 1 | ||||
| } | ||||
| 
 | ||||
| // NumCgoCall returns the number of cgo calls made by the current process. | ||||
| func NumCgoCall() int { | ||||
| 	return 0 | ||||
| } | ||||
| 
 | ||||
| // NumGoroutine returns the number of goroutines that currently exist. | ||||
| func NumGoroutine() int { | ||||
| 	return 1 | ||||
| } | ||||
| 
 | ||||
| func Version() string { | ||||
| 	return "v0.1.0" | ||||
| } | ||||
|  |  | |||
		Загрузка…
	
	Создание таблицы
		
		Сослаться в новой задаче
	
	 Aayush Attri
						Aayush Attri